Color Reference · Midnight Slate

#412D48

oklch(33.2% 0.053 317)

HEX
#412D48
OKLCH
oklch(33.2% 0.053 317)
RGB
rgb(65, 45, 72)
HSL
hsl(284deg 23% 23%)
Relative Luminance
Y = 0.0347

Using #412D48 as Text Foreground

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

Using #412D48 as Button / Surface Fill

White ink (#FFFFFF) on #412D48
Contrast ratio 12.4:1
AAA
Dark ink (#0F172A) on #412D48
Contrast ratio 1.44:1
Fail

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