Color Reference · Cosmic Dusk

#4B005E

oklch(30.5% 0.148 317)

HEX
#4B005E
OKLCH
oklch(30.5% 0.148 317)
RGB
rgb(75, 0, 94)
HSL
hsl(288deg 100% 18%)
Relative Luminance
Y = 0.023

Using #4B005E as Text Foreground

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

Using #4B005E as Button / Surface Fill

White ink (#FFFFFF) on #4B005E
Contrast ratio 14.38:1
AAA
Dark ink (#0F172A) on #4B005E
Contrast ratio 1.24:1
Fail

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