Color Reference · Cosmic Dusk

#562A8A

oklch(39.7% 0.152 301)

HEX
#562A8A
OKLCH
oklch(39.7% 0.152 301)
RGB
rgb(86, 42, 138)
HSL
hsl(268deg 53% 35%)
Relative Luminance
Y = 0.0547

Using #562A8A as Text Foreground

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

Using #562A8A as Button / Surface Fill

White ink (#FFFFFF) on #562A8A
Contrast ratio 10.03:1
AAA
Dark ink (#0F172A) on #562A8A
Contrast ratio 1.78:1
Fail

Recommended accessible ink on #562A8A: #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 #562A8A