Color Reference · Cosmic Dusk

#523C96

oklch(43% 0.141 290)

HEX
#523C96
OKLCH
oklch(43% 0.141 290)
RGB
rgb(82, 60, 150)
HSL
hsl(255deg 43% 41%)
Relative Luminance
Y = 0.0723

Using #523C96 as Text Foreground

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

Using #523C96 as Button / Surface Fill

White ink (#FFFFFF) on #523C96
Contrast ratio 8.59:1
AAA
Dark ink (#0F172A) on #523C96
Contrast ratio 2.08:1
Fail

Recommended accessible ink on #523C96: #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 #523C96