Color Reference · Cosmic Dusk

#4F336E

oklch(38.3% 0.101 304)

HEX
#4F336E
OKLCH
oklch(38.3% 0.101 304)
RGB
rgb(79, 51, 110)
HSL
hsl(268deg 37% 32%)
Relative Luminance
Y = 0.0516

Using #4F336E as Text Foreground

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

Using #4F336E as Button / Surface Fill

White ink (#FFFFFF) on #4F336E
Contrast ratio 10.34:1
AAA
Dark ink (#0F172A) on #4F336E
Contrast ratio 1.73:1
Fail

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