Skip to content
Vectorlight.net

#5e1561

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#5e1561
RGB
94, 21, 97
HSL
297.63°, 64.41%, 23.14%
OKLCH
0.35 0.14 326.3
Names
—
Lists

Codes

FormatValue
HEX#5e1561
RGBrgb(94 21 97)
HSLhsl(297.63 64.41% 23.14%)
OKLCHoklch(0.35 0.14 326.3)
CMYKcmyk(3.09% 78.35% 0% 61.96%)
Android#ff5e1561

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
11.96:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.75:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#5e1561"
Gradient stop
<stop stop-color="#5e1561"/>
CSS variable + fill
:root { --c: #5e1561; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #5e1561;
background-color: #5e1561;
bg-[#5e1561]