Color Reference · Cosmic Dusk

#4F2E76

oklch(38% 0.12 302)

HEX
#4F2E76
OKLCH
oklch(38% 0.12 302)
RGB
rgb(79, 46, 118)
HSL
hsl(268deg 44% 32%)
Relative Luminance
Y = 0.0492

Using #4F2E76 as Text Foreground

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

Using #4F2E76 as Button / Surface Fill

White ink (#FFFFFF) on #4F2E76
Contrast ratio 10.58:1
AAA
Dark ink (#0F172A) on #4F2E76
Contrast ratio 1.69:1
Fail

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