Skip to content
Vectorlight.net

#520644

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

HEX
#520644
RGB
82, 6, 68
HSL
311.05°, 86.36%, 17.25%
OKLCH
0.3 0.13 337.59
Names
—
Lists

Codes

FormatValue
HEX#520644
RGBrgb(82 6 68)
HSLhsl(311.05 86.36% 17.25%)
OKLCHoklch(0.3 0.13 337.59)
CMYKcmyk(0% 92.68% 17.07% 67.84%)
Android#ff520644

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #520644;
background-color: #520644;
bg-[#520644]