Skip to content
Vectorlight.net

#56348c

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

HEX
#56348c
RGB
86, 52, 140
HSL
263.18°, 45.83%, 37.65%
OKLCH
0.41 0.14 297.75
Names
—
Lists

Codes

FormatValue
HEX#56348c
RGBrgb(86 52 140)
HSLhsl(263.18 45.83% 37.65%)
OKLCHoklch(0.41 0.14 297.75)
CMYKcmyk(38.57% 62.86% 0% 45.1%)
Android#ff56348c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #56348c;
background-color: #56348c;
bg-[#56348c]