Color Reference · Cosmic Dusk

#523C95

oklch(42.9% 0.14 291)

HEX
#523C95
OKLCH
oklch(42.9% 0.14 291)
RGB
rgb(82, 60, 149)
HSL
hsl(255deg 43% 41%)
Relative Luminance
Y = 0.072

Using #523C95 as Text Foreground

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

Using #523C95 as Button / Surface Fill

White ink (#FFFFFF) on #523C95
Contrast ratio 8.61:1
AAA
Dark ink (#0F172A) on #523C95
Contrast ratio 2.07:1
Fail

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