Color Reference · Midnight Slate

#381D3D

oklch(28.2% 0.067 321)

HEX
#381D3D
OKLCH
oklch(28.2% 0.067 321)
RGB
rgb(56, 29, 61)
HSL
hsl(291deg 36% 18%)
Relative Luminance
Y = 0.0206

Using #381D3D as Text Foreground

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

Using #381D3D as Button / Surface Fill

White ink (#FFFFFF) on #381D3D
Contrast ratio 14.88:1
AAA
Dark ink (#0F172A) on #381D3D
Contrast ratio 1.2:1
Fail

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