Color Reference · Cosmic Dusk

#332155

oklch(30% 0.091 296)

HEX
#332155
OKLCH
oklch(30% 0.091 296)
RGB
rgb(51, 33, 85)
HSL
hsl(261deg 44% 23%)
Relative Luminance
Y = 0.0245

Using #332155 as Text Foreground

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

Using #332155 as Button / Surface Fill

White ink (#FFFFFF) on #332155
Contrast ratio 14.1:1
AAA
Dark ink (#0F172A) on #332155
Contrast ratio 1.27:1
Fail

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