Color Reference · Cosmic Dusk

#52265F

oklch(35.5% 0.106 318)

HEX
#52265F
OKLCH
oklch(35.5% 0.106 318)
RGB
rgb(82, 38, 95)
HSL
hsl(286deg 43% 26%)
Relative Luminance
Y = 0.0401

Using #52265F as Text Foreground

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

Using #52265F as Button / Surface Fill

White ink (#FFFFFF) on #52265F
Contrast ratio 11.66:1
AAA
Dark ink (#0F172A) on #52265F
Contrast ratio 1.53:1
Fail

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