Color Reference · Cosmic Dusk

#4F2F75

oklch(38.1% 0.117 302)

HEX
#4F2F75
OKLCH
oklch(38.1% 0.117 302)
RGB
rgb(79, 47, 117)
HSL
hsl(267deg 43% 32%)
Relative Luminance
Y = 0.0498

Using #4F2F75 as Text Foreground

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

Using #4F2F75 as Button / Surface Fill

White ink (#FFFFFF) on #4F2F75
Contrast ratio 10.52:1
AAA
Dark ink (#0F172A) on #4F2F75
Contrast ratio 1.7:1
Fail

Recommended accessible ink on #4F2F75: #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 #4F2F75