Color Reference · Cosmic Dusk

#4D1F63

oklch(34.1% 0.12 313)

HEX
#4D1F63
OKLCH
oklch(34.1% 0.12 313)
RGB
rgb(77, 31, 99)
HSL
hsl(281deg 52% 25%)
Relative Luminance
Y = 0.0346

Using #4D1F63 as Text Foreground

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

Using #4D1F63 as Button / Surface Fill

White ink (#FFFFFF) on #4D1F63
Contrast ratio 12.41:1
AAA
Dark ink (#0F172A) on #4D1F63
Contrast ratio 1.44:1
Fail

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