Color Reference · Cosmic Dusk

#503E97

oklch(43.2% 0.14 288)

HEX
#503E97
OKLCH
oklch(43.2% 0.14 288)
RGB
rgb(80, 62, 151)
HSL
hsl(252deg 42% 42%)
Relative Luminance
Y = 0.0739

Using #503E97 as Text Foreground

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

Using #503E97 as Button / Surface Fill

White ink (#FFFFFF) on #503E97
Contrast ratio 8.48:1
AAA
Dark ink (#0F172A) on #503E97
Contrast ratio 2.11:1
Fail

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