Color Reference · Cosmic Dusk

#4A2A67

oklch(35.6% 0.105 306)

HEX
#4A2A67
OKLCH
oklch(35.6% 0.105 306)
RGB
rgb(74, 42, 103)
HSL
hsl(271deg 42% 28%)
Relative Luminance
Y = 0.0409

Using #4A2A67 as Text Foreground

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

Using #4A2A67 as Button / Surface Fill

White ink (#FFFFFF) on #4A2A67
Contrast ratio 11.55:1
AAA
Dark ink (#0F172A) on #4A2A67
Contrast ratio 1.55:1
Fail

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