Skip to content
Vectorlight.net

#52276f

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

HEX
#52276f
RGB
82, 39, 111
HSL
275.83°, 48%, 29.41%
OKLCH
0.37 0.12 309.11
Names
—
Lists

Codes

FormatValue
HEX#52276f
RGBrgb(82 39 111)
HSLhsl(275.83 48% 29.41%)
OKLCHoklch(0.37 0.12 309.11)
CMYKcmyk(26.13% 64.86% 0% 56.47%)
Android#ff52276f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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