Color Reference · Cosmic Dusk
#403255
oklch(34.9% 0.062 302)
HEX
#403255
OKLCH
oklch(34.9% 0.062 302)
RGB
rgb(64, 50, 85)
HSL
hsl(264deg 26% 26%)
Relative Luminance
Y = 0.0403
Using #403255 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 11.63:1
Sample text on Slate (#0F172A)
Contrast ratio 1.53:1
Using #403255 as Button / Surface Fill
White ink (#FFFFFF) on #403255
Contrast ratio 11.63:1
Dark ink (#0F172A) on #403255
Contrast ratio 1.53:1
Recommended accessible ink on #403255: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.