Color Reference · Cosmic Dusk

#412962

oklch(34% 0.098 301)

HEX
#412962
OKLCH
oklch(34% 0.098 301)
RGB
rgb(65, 41, 98)
HSL
hsl(265deg 41% 27%)
Relative Luminance
Y = 0.0359

Using #412962 as Text Foreground

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

Using #412962 as Button / Surface Fill

White ink (#FFFFFF) on #412962
Contrast ratio 12.22:1
AAA
Dark ink (#0F172A) on #412962
Contrast ratio 1.46:1
Fail

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