Color Reference · Cosmic Dusk

#4E4479

oklch(42.2% 0.087 291)

HEX
#4E4479
OKLCH
oklch(42.2% 0.087 291)
RGB
rgb(78, 68, 121)
HSL
hsl(251deg 28% 37%)
Relative Luminance
Y = 0.0713

Using #4E4479 as Text Foreground

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

Using #4E4479 as Button / Surface Fill

White ink (#FFFFFF) on #4E4479
Contrast ratio 8.65:1
AAA
Dark ink (#0F172A) on #4E4479
Contrast ratio 2.06:1
Fail

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