Color Reference · Cosmic Dusk

#4C2B7D

oklch(37.7% 0.133 298)

HEX
#4C2B7D
OKLCH
oklch(37.7% 0.133 298)
RGB
rgb(76, 43, 125)
HSL
hsl(264deg 49% 33%)
Relative Luminance
Y = 0.0474

Using #4C2B7D as Text Foreground

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

Using #4C2B7D as Button / Surface Fill

White ink (#FFFFFF) on #4C2B7D
Contrast ratio 10.77:1
AAA
Dark ink (#0F172A) on #4C2B7D
Contrast ratio 1.66:1
Fail

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