Color Reference · Cosmic Dusk

#4A418C

oklch(42.4% 0.12 286)

HEX
#4A418C
OKLCH
oklch(42.4% 0.12 286)
RGB
rgb(74, 65, 140)
HSL
hsl(247deg 37% 40%)
Relative Luminance
Y = 0.0713

Using #4A418C as Text Foreground

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

Using #4A418C as Button / Surface Fill

White ink (#FFFFFF) on #4A418C
Contrast ratio 8.66:1
AAA
Dark ink (#0F172A) on #4A418C
Contrast ratio 2.06:1
Fail

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