Color Reference · Cosmic Dusk

#3A3166

oklch(35.1% 0.09 289)

HEX
#3A3166
OKLCH
oklch(35.1% 0.09 289)
RGB
rgb(58, 49, 102)
HSL
hsl(250deg 35% 30%)
Relative Luminance
Y = 0.0406

Using #3A3166 as Text Foreground

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

Using #3A3166 as Button / Surface Fill

White ink (#FFFFFF) on #3A3166
Contrast ratio 11.6:1
AAA
Dark ink (#0F172A) on #3A3166
Contrast ratio 1.54:1
Fail

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