Skip to content
Vectorlight.net

#520962

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

HEX
#520962
RGB
82, 9, 98
HSL
289.21°, 83.18%, 20.98%
OKLCH
0.33 0.15 319.09
Names
—
Lists

Codes

FormatValue
HEX#520962
RGBrgb(82 9 98)
HSLhsl(289.21 83.18% 20.98%)
OKLCHoklch(0.33 0.15 319.09)
CMYKcmyk(16.33% 90.82% 0% 61.57%)
Android#ff520962

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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