Color Reference · Cosmic Dusk

#541B5A

oklch(34% 0.12 324)

HEX
#541B5A
OKLCH
oklch(34% 0.12 324)
RGB
rgb(84, 27, 90)
HSL
hsl(294deg 54% 23%)
Relative Luminance
Y = 0.0341

Using #541B5A as Text Foreground

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

Using #541B5A as Button / Surface Fill

White ink (#FFFFFF) on #541B5A
Contrast ratio 12.49:1
AAA
Dark ink (#0F172A) on #541B5A
Contrast ratio 1.43:1
Fail

Recommended accessible ink on #541B5A: #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 #541B5A