Color Reference · Cosmic Dusk

#522A56

oklch(35.6% 0.088 324)

HEX
#522A56
OKLCH
oklch(35.6% 0.088 324)
RGB
rgb(82, 42, 86)
HSL
hsl(295deg 34% 25%)
Relative Luminance
Y = 0.0412

Using #522A56 as Text Foreground

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

Using #522A56 as Button / Surface Fill

White ink (#FFFFFF) on #522A56
Contrast ratio 11.51:1
AAA
Dark ink (#0F172A) on #522A56
Contrast ratio 1.55:1
Fail

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