Color Reference · Cosmic Dusk

#52409E

oklch(44.3% 0.146 288)

HEX
#52409E
OKLCH
oklch(44.3% 0.146 288)
RGB
rgb(82, 64, 158)
HSL
hsl(251deg 42% 44%)
Relative Luminance
Y = 0.0793

Using #52409E as Text Foreground

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

Using #52409E as Button / Surface Fill

White ink (#FFFFFF) on #52409E
Contrast ratio 8.12:1
AAA
Dark ink (#0F172A) on #52409E
Contrast ratio 2.2:1
Fail

Recommended accessible ink on #52409E: #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 #52409E