Color Reference · Cosmic Dusk

#52287A

oklch(37.7% 0.135 304)

HEX
#52287A
OKLCH
oklch(37.7% 0.135 304)
RGB
rgb(82, 40, 122)
HSL
hsl(271deg 51% 32%)
Relative Luminance
Y = 0.0472

Using #52287A as Text Foreground

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

Using #52287A as Button / Surface Fill

White ink (#FFFFFF) on #52287A
Contrast ratio 10.81:1
AAA
Dark ink (#0F172A) on #52287A
Contrast ratio 1.65:1
Fail

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