Color Reference · Cosmic Dusk

#4E306B

oklch(37.4% 0.102 306)

HEX
#4E306B
OKLCH
oklch(37.4% 0.102 306)
RGB
rgb(78, 48, 107)
HSL
hsl(271deg 38% 30%)
Relative Luminance
Y = 0.048

Using #4E306B as Text Foreground

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

Using #4E306B as Button / Surface Fill

White ink (#FFFFFF) on #4E306B
Contrast ratio 10.72:1
AAA
Dark ink (#0F172A) on #4E306B
Contrast ratio 1.67:1
Fail

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