Color Reference · Cosmic Dusk

#5E236E

oklch(37.8% 0.133 318)

HEX
#5E236E
OKLCH
oklch(37.8% 0.133 318)
RGB
rgb(94, 35, 110)
HSL
hsl(287deg 52% 28%)
Relative Luminance
Y = 0.0471

Using #5E236E as Text Foreground

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

Using #5E236E as Button / Surface Fill

White ink (#FFFFFF) on #5E236E
Contrast ratio 10.82:1
AAA
Dark ink (#0F172A) on #5E236E
Contrast ratio 1.65:1
Fail

Recommended accessible ink on #5E236E: #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 #5E236E