Color Reference · Cosmic Dusk
#511D5E
oklch(34% 0.119 319)
HEX
#511D5E
OKLCH
oklch(34% 0.119 319)
RGB
rgb(81, 29, 94)
HSL
hsl(288deg 53% 24%)
Relative Luminance
Y = 0.0344
Using #511D5E as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 12.45:1
Sample text on Slate (#0F172A)
Contrast ratio 1.43:1
Using #511D5E as Button / Surface Fill
White ink (#FFFFFF) on #511D5E
Contrast ratio 12.45:1
Dark ink (#0F172A) on #511D5E
Contrast ratio 1.43:1
Recommended accessible ink on #511D5E: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.