Color Reference · Cosmic Dusk

#5A3E73

oklch(41.9% 0.091 307)

HEX
#5A3E73
OKLCH
oklch(41.9% 0.091 307)
RGB
rgb(90, 62, 115)
HSL
hsl(272deg 30% 35%)
Relative Luminance
Y = 0.0686

Using #5A3E73 as Text Foreground

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

Using #5A3E73 as Button / Surface Fill

White ink (#FFFFFF) on #5A3E73
Contrast ratio 8.86:1
AAA
Dark ink (#0F172A) on #5A3E73
Contrast ratio 2.02:1
Fail

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