Color Reference · Cosmic Dusk

#42246C

oklch(34% 0.12 299)

HEX
#42246C
OKLCH
oklch(34% 0.12 299)
RGB
rgb(66, 36, 108)
HSL
hsl(265deg 50% 28%)
Relative Luminance
Y = 0.035

Using #42246C as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 12.35:1
AAA
Sample text on Slate (#0F172A)
Contrast ratio 1.45:1
Fail

Using #42246C as Button / Surface Fill

White ink (#FFFFFF) on #42246C
Contrast ratio 12.35:1
AAA
Dark ink (#0F172A) on #42246C
Contrast ratio 1.45:1
Fail

Recommended accessible ink on #42246C: #FFFFFF.

OKLCH Tonal Scale (50–950)

Click any shade step to inspect its conversions and contrast profile.

Export Tailwind CSS v4 Scale →

OKLCH Color Harmonies from #42246C