Color Reference · Cosmic Dusk

#412C55

oklch(33.7% 0.074 306)

HEX
#412C55
OKLCH
oklch(33.7% 0.074 306)
RGB
rgb(65, 44, 85)
HSL
hsl(271deg 32% 25%)
Relative Luminance
Y = 0.0358

Using #412C55 as Text Foreground

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

Using #412C55 as Button / Surface Fill

White ink (#FFFFFF) on #412C55
Contrast ratio 12.24:1
AAA
Dark ink (#0F172A) on #412C55
Contrast ratio 1.46:1
Fail

Recommended accessible ink on #412C55: #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 #412C55