Color Reference · Cosmic Dusk
#511D5F
oklch(34.1% 0.12 318)
HEX
#511D5F
OKLCH
oklch(34.1% 0.12 318)
RGB
rgb(81, 29, 95)
HSL
hsl(287deg 53% 24%)
Relative Luminance
Y = 0.0345
Using #511D5F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 12.42:1
Sample text on Slate (#0F172A)
Contrast ratio 1.44:1
Using #511D5F as Button / Surface Fill
White ink (#FFFFFF) on #511D5F
Contrast ratio 12.42:1
Dark ink (#0F172A) on #511D5F
Contrast ratio 1.44:1
Recommended accessible ink on #511D5F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.