Color Reference · Cosmic Dusk

#513E89

oklch(42.3% 0.12 292)

HEX
#513E89
OKLCH
oklch(42.3% 0.12 292)
RGB
rgb(81, 62, 137)
HSL
hsl(255deg 38% 39%)
Relative Luminance
Y = 0.07

Using #513E89 as Text Foreground

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

Using #513E89 as Button / Surface Fill

White ink (#FFFFFF) on #513E89
Contrast ratio 8.75:1
AAA
Dark ink (#0F172A) on #513E89
Contrast ratio 2.04:1
Fail

Recommended accessible ink on #513E89: #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 #513E89