Color Reference · Cosmic Dusk

#52275F

oklch(35.7% 0.104 318)

HEX
#52275F
OKLCH
oklch(35.7% 0.104 318)
RGB
rgb(82, 39, 95)
HSL
hsl(286deg 42% 26%)
Relative Luminance
Y = 0.0407

Using #52275F as Text Foreground

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

Using #52275F as Button / Surface Fill

White ink (#FFFFFF) on #52275F
Contrast ratio 11.58:1
AAA
Dark ink (#0F172A) on #52275F
Contrast ratio 1.54:1
Fail

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