Skip to content
Vectorlight.net

#52276c

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

HEX
#52276c
RGB
82, 39, 108
HSL
277.39°, 46.94%, 28.82%
OKLCH
0.37 0.12 310.55
Names
—
Lists

Codes

FormatValue
HEX#52276c
RGBrgb(82 39 108)
HSLhsl(277.39 46.94% 28.82%)
OKLCHoklch(0.37 0.12 310.55)
CMYKcmyk(24.07% 63.89% 0% 57.65%)
Android#ff52276c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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