Color Reference · Cosmic Dusk

#421E5E

oklch(32% 0.111 307)

HEX
#421E5E
OKLCH
oklch(32% 0.111 307)
RGB
rgb(66, 30, 94)
HSL
hsl(274deg 52% 24%)
Relative Luminance
Y = 0.0289

Using #421E5E as Text Foreground

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

Using #421E5E as Button / Surface Fill

White ink (#FFFFFF) on #421E5E
Contrast ratio 13.3:1
AAA
Dark ink (#0F172A) on #421E5E
Contrast ratio 1.34:1
Fail

Recommended accessible ink on #421E5E: #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 #421E5E