Color Reference · Midnight Slate

#3F2140

oklch(30.1% 0.067 326)

HEX
#3F2140
OKLCH
oklch(30.1% 0.067 326)
RGB
rgb(63, 33, 64)
HSL
hsl(298deg 32% 19%)
Relative Luminance
Y = 0.0251

Using #3F2140 as Text Foreground

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

Using #3F2140 as Button / Surface Fill

White ink (#FFFFFF) on #3F2140
Contrast ratio 13.97:1
AAA
Dark ink (#0F172A) on #3F2140
Contrast ratio 1.28:1
Fail

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