Color Reference · Cosmic Dusk
#520052
oklch(30.8% 0.141 328)
HEX
#520052
OKLCH
oklch(30.8% 0.141 328)
RGB
rgb(82, 0, 82)
HSL
hsl(300deg 100% 16%)
Relative Luminance
Y = 0.024
Using #520052 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.18:1
Sample text on Slate (#0F172A)
Contrast ratio 1.26:1
Using #520052 as Button / Surface Fill
White ink (#FFFFFF) on #520052
Contrast ratio 14.18:1
Dark ink (#0F172A) on #520052
Contrast ratio 1.26:1
Recommended accessible ink on #520052: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.