Color Reference · Midnight Slate

#3E2242

oklch(30.3% 0.067 322)

HEX
#3E2242
OKLCH
oklch(30.3% 0.067 322)
RGB
rgb(62, 34, 66)
HSL
hsl(293deg 32% 20%)
Relative Luminance
Y = 0.0256

Using #3E2242 as Text Foreground

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

Using #3E2242 as Button / Surface Fill

White ink (#FFFFFF) on #3E2242
Contrast ratio 13.89:1
AAA
Dark ink (#0F172A) on #3E2242
Contrast ratio 1.29:1
Fail

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