Color Reference · Cosmic Dusk

#524191

oklch(43.5% 0.127 290)

HEX
#524191
OKLCH
oklch(43.5% 0.127 290)
RGB
rgb(82, 65, 145)
HSL
hsl(253deg 38% 41%)
Relative Luminance
Y = 0.0762

Using #524191 as Text Foreground

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

Using #524191 as Button / Surface Fill

White ink (#FFFFFF) on #524191
Contrast ratio 8.32:1
AAA
Dark ink (#0F172A) on #524191
Contrast ratio 2.15:1
Fail

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