Color Reference · Midnight Slate

#3E2140

oklch(30% 0.066 325)

HEX
#3E2140
OKLCH
oklch(30% 0.066 325)
RGB
rgb(62, 33, 64)
HSL
hsl(296deg 32% 19%)
Relative Luminance
Y = 0.0248

Using #3E2140 as Text Foreground

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

Using #3E2140 as Button / Surface Fill

White ink (#FFFFFF) on #3E2140
Contrast ratio 14.03:1
AAA
Dark ink (#0F172A) on #3E2140
Contrast ratio 1.27:1
Fail

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