Color Reference · Cosmic Dusk

#522E73

oklch(38.1% 0.117 306)

HEX
#522E73
OKLCH
oklch(38.1% 0.117 306)
RGB
rgb(82, 46, 115)
HSL
hsl(271deg 43% 32%)
Relative Luminance
Y = 0.0499

Using #522E73 as Text Foreground

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

Using #522E73 as Button / Surface Fill

White ink (#FFFFFF) on #522E73
Contrast ratio 10.52:1
AAA
Dark ink (#0F172A) on #522E73
Contrast ratio 1.7:1
Fail

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