Color Reference · Cosmic Dusk

#4C2D4E

oklch(34.9% 0.069 325)

HEX
#4C2D4E
OKLCH
oklch(34.9% 0.069 325)
RGB
rgb(76, 45, 78)
HSL
hsl(296deg 27% 24%)
Relative Luminance
Y = 0.0396

Using #4C2D4E as Text Foreground

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

Using #4C2D4E as Button / Surface Fill

White ink (#FFFFFF) on #4C2D4E
Contrast ratio 11.71:1
AAA
Dark ink (#0F172A) on #4C2D4E
Contrast ratio 1.52:1
Fail

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