Color Reference · Cosmic Dusk

#503D96

oklch(43% 0.14 289)

HEX
#503D96
OKLCH
oklch(43% 0.14 289)
RGB
rgb(80, 61, 150)
HSL
hsl(253deg 42% 41%)
Relative Luminance
Y = 0.0724

Using #503D96 as Text Foreground

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

Using #503D96 as Button / Surface Fill

White ink (#FFFFFF) on #503D96
Contrast ratio 8.57:1
AAA
Dark ink (#0F172A) on #503D96
Contrast ratio 2.08:1
Fail

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