Color Reference · Cosmic Dusk

#3C2162

oklch(32% 0.11 299)

HEX
#3C2162
OKLCH
oklch(32% 0.11 299)
RGB
rgb(60, 33, 98)
HSL
hsl(265deg 50% 26%)
Relative Luminance
Y = 0.0293

Using #3C2162 as Text Foreground

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

Using #3C2162 as Button / Surface Fill

White ink (#FFFFFF) on #3C2162
Contrast ratio 13.24:1
AAA
Dark ink (#0F172A) on #3C2162
Contrast ratio 1.35:1
Fail

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