Skip to content
Vectorlight.net

#56056d

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

HEX
#56056d
RGB
86, 5, 109
HSL
286.73°, 91.23%, 22.35%
OKLCH
0.34 0.16 316.31
Names
—
Lists

Codes

FormatValue
HEX#56056d
RGBrgb(86 5 109)
HSLhsl(286.73 91.23% 22.35%)
OKLCHoklch(0.34 0.16 316.31)
CMYKcmyk(21.1% 95.41% 0% 57.25%)
Android#ff56056d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #56056d;
background-color: #56056d;
bg-[#56056d]