Color Reference · Cosmic Dusk

#4E3F8A

oklch(42.3% 0.12 289)

HEX
#4E3F8A
OKLCH
oklch(42.3% 0.12 289)
RGB
rgb(78, 63, 138)
HSL
hsl(252deg 37% 39%)
Relative Luminance
Y = 0.0701

Using #4E3F8A as Text Foreground

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

Using #4E3F8A as Button / Surface Fill

White ink (#FFFFFF) on #4E3F8A
Contrast ratio 8.74:1
AAA
Dark ink (#0F172A) on #4E3F8A
Contrast ratio 2.04:1
Fail

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