Color Reference · Cosmic Dusk
#340076
oklch(29.6% 0.166 291)
HEX
#340076
OKLCH
oklch(29.6% 0.166 291)
RGB
rgb(52, 0, 118)
HSL
hsl(266deg 100% 23%)
Relative Luminance
Y = 0.0204
Using #340076 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.92:1
Sample text on Slate (#0F172A)
Contrast ratio 1.2:1
Using #340076 as Button / Surface Fill
White ink (#FFFFFF) on #340076
Contrast ratio 14.92:1
Dark ink (#0F172A) on #340076
Contrast ratio 1.2:1
Recommended accessible ink on #340076: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.