Color Reference · Cosmic Dusk

#4E4279

oklch(41.8% 0.09 292)

HEX
#4E4279
OKLCH
oklch(41.8% 0.09 292)
RGB
rgb(78, 66, 121)
HSL
hsl(253deg 29% 37%)
Relative Luminance
Y = 0.069

Using #4E4279 as Text Foreground

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

Using #4E4279 as Button / Surface Fill

White ink (#FFFFFF) on #4E4279
Contrast ratio 8.83:1
AAA
Dark ink (#0F172A) on #4E4279
Contrast ratio 2.02:1
Fail

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