Color Reference · Cosmic Dusk

#5E236D

oklch(37.7% 0.132 319)

HEX
#5E236D
OKLCH
oklch(37.7% 0.132 319)
RGB
rgb(94, 35, 109)
HSL
hsl(288deg 51% 28%)
Relative Luminance
Y = 0.0469

Using #5E236D as Text Foreground

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

Using #5E236D as Button / Surface Fill

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

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