Color Reference · Cosmic Dusk

#382871

oklch(34% 0.12 288)

HEX
#382871
OKLCH
oklch(34% 0.12 288)
RGB
rgb(56, 40, 113)
HSL
hsl(253deg 48% 30%)
Relative Luminance
Y = 0.0355

Using #382871 as Text Foreground

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

Using #382871 as Button / Surface Fill

White ink (#FFFFFF) on #382871
Contrast ratio 12.28:1
AAA
Dark ink (#0F172A) on #382871
Contrast ratio 1.45:1
Fail

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