Color Reference · Cosmic Dusk

#501D60

oklch(34% 0.121 317)

HEX
#501D60
OKLCH
oklch(34% 0.121 317)
RGB
rgb(80, 29, 96)
HSL
hsl(286deg 54% 25%)
Relative Luminance
Y = 0.0343

Using #501D60 as Text Foreground

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

Using #501D60 as Button / Surface Fill

White ink (#FFFFFF) on #501D60
Contrast ratio 12.46:1
AAA
Dark ink (#0F172A) on #501D60
Contrast ratio 1.43:1
Fail

Recommended accessible ink on #501D60: #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 #501D60