Color Reference · Cosmic Dusk

#392871

oklch(34.1% 0.12 289)

HEX
#392871
OKLCH
oklch(34.1% 0.12 289)
RGB
rgb(57, 40, 113)
HSL
hsl(254deg 48% 30%)
Relative Luminance
Y = 0.0358

Using #392871 as Text Foreground

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

Using #392871 as Button / Surface Fill

White ink (#FFFFFF) on #392871
Contrast ratio 12.24:1
AAA
Dark ink (#0F172A) on #392871
Contrast ratio 1.46:1
Fail

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