Color Reference · Cosmic Dusk
#403CA3
oklch(42.5% 0.161 279)
HEX
#403CA3
OKLCH
oklch(42.5% 0.161 279)
RGB
rgb(64, 60, 163)
HSL
hsl(242deg 46% 44%)
Relative Luminance
Y = 0.0697
Using #403CA3 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 8.77:1
Sample text on Slate (#0F172A)
Contrast ratio 2.03:1
Using #403CA3 as Button / Surface Fill
White ink (#FFFFFF) on #403CA3
Contrast ratio 8.77:1
Dark ink (#0F172A) on #403CA3
Contrast ratio 2.03:1
Recommended accessible ink on #403CA3: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.