Color Reference · Cosmic Dusk

#56255B

oklch(35.7% 0.106 324)

HEX
#56255B
OKLCH
oklch(35.7% 0.106 324)
RGB
rgb(86, 37, 91)
HSL
hsl(294deg 42% 25%)
Relative Luminance
Y = 0.0406

Using #56255B as Text Foreground

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

Using #56255B as Button / Surface Fill

White ink (#FFFFFF) on #56255B
Contrast ratio 11.59:1
AAA
Dark ink (#0F172A) on #56255B
Contrast ratio 1.54:1
Fail

Recommended accessible ink on #56255B: #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 #56255B