Skip to content
Vectorlight.net

#56217b

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

HEX
#56217b
RGB
86, 33, 123
HSL
275.33°, 57.69%, 30.59%
OKLCH
0.37 0.15 307.66
Names
—
Lists

Codes

FormatValue
HEX#56217b
RGBrgb(86 33 123)
HSLhsl(275.33 57.69% 30.59%)
OKLCHoklch(0.37 0.15 307.66)
CMYKcmyk(30.08% 73.17% 0% 51.76%)
Android#ff56217b

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
11.05:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.89: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="#56217b"
Gradient stop
<stop stop-color="#56217b"/>
CSS variable + fill
:root { --c: #56217b; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #56217b;
background-color: #56217b;
bg-[#56217b]