Color Reference · Cosmic Dusk

#3A286A

oklch(33.7% 0.11 292)

HEX
#3A286A
OKLCH
oklch(33.7% 0.11 292)
RGB
rgb(58, 40, 106)
HSL
hsl(256deg 45% 29%)
Relative Luminance
Y = 0.0346

Using #3A286A as Text Foreground

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

Using #3A286A as Button / Surface Fill

White ink (#FFFFFF) on #3A286A
Contrast ratio 12.41:1
AAA
Dark ink (#0F172A) on #3A286A
Contrast ratio 1.44:1
Fail

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