Skip to content
Vectorlight.net

#520368

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

HEX
#520368
RGB
82, 3, 104
HSL
286.93°, 94.39%, 20.98%
OKLCH
0.33 0.16 316.43
Names
—
Lists

Codes

FormatValue
HEX#520368
RGBrgb(82 3 104)
HSLhsl(286.93 94.39% 20.98%)
OKLCHoklch(0.33 0.16 316.43)
CMYKcmyk(21.15% 97.12% 0% 59.22%)
Android#ff520368

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
13.36: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="#520368"
Gradient stop
<stop stop-color="#520368"/>
CSS variable + fill
:root { --c: #520368; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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