Color Reference · Cosmic Dusk

#381F48

oklch(29.3% 0.077 311)

HEX
#381F48
OKLCH
oklch(29.3% 0.077 311)
RGB
rgb(56, 31, 72)
HSL
hsl(277deg 40% 20%)
Relative Luminance
Y = 0.0229

Using #381F48 as Text Foreground

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

Using #381F48 as Button / Surface Fill

White ink (#FFFFFF) on #381F48
Contrast ratio 14.41:1
AAA
Dark ink (#0F172A) on #381F48
Contrast ratio 1.24:1
Fail

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