Color Reference · Cosmic Dusk

#381C4E

oklch(29.2% 0.091 308)

HEX
#381C4E
OKLCH
oklch(29.2% 0.091 308)
RGB
rgb(56, 28, 78)
HSL
hsl(274deg 47% 21%)
Relative Luminance
Y = 0.0222

Using #381C4E as Text Foreground

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

Using #381C4E as Button / Surface Fill

White ink (#FFFFFF) on #381C4E
Contrast ratio 14.54:1
AAA
Dark ink (#0F172A) on #381C4E
Contrast ratio 1.23:1
Fail

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