Skip to content
Vectorlight.net

#52147d

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

HEX
#52147d
RGB
82, 20, 125
HSL
275.43°, 72.41%, 28.43%
OKLCH
0.36 0.16 306.1
Names
—
Lists

Codes

FormatValue
HEX#52147d
RGBrgb(82 20 125)
HSLhsl(275.43 72.41% 28.43%)
OKLCHoklch(0.36 0.16 306.1)
CMYKcmyk(34.4% 84% 0% 50.98%)
Android#ff52147d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #52147d;
background-color: #52147d;
bg-[#52147d]