Color Reference · Cosmic Dusk

#421F48

oklch(30.7% 0.083 322)

HEX
#421F48
OKLCH
oklch(30.7% 0.083 322)
RGB
rgb(66, 31, 72)
HSL
hsl(291deg 40% 20%)
Relative Luminance
Y = 0.0261

Using #421F48 as Text Foreground

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

Using #421F48 as Button / Surface Fill

White ink (#FFFFFF) on #421F48
Contrast ratio 13.8:1
AAA
Dark ink (#0F172A) on #421F48
Contrast ratio 1.29:1
Fail

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