Color Reference · Cosmic Dusk

#42006A

oklch(30.2% 0.156 306)

HEX
#42006A
OKLCH
oklch(30.2% 0.156 306)
RGB
rgb(66, 0, 106)
HSL
hsl(277deg 100% 21%)
Relative Luminance
Y = 0.022

Using #42006A as Text Foreground

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

Using #42006A as Button / Surface Fill

White ink (#FFFFFF) on #42006A
Contrast ratio 14.59:1
AAA
Dark ink (#0F172A) on #42006A
Contrast ratio 1.22:1
Fail

Recommended accessible ink on #42006A: #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 #42006A