Skip to content
Vectorlight.net

#52235b

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

HEX
#52235b
RGB
82, 35, 91
HSL
290.36°, 44.44%, 24.71%
OKLCH
0.35 0.11 320.96
Names
—
Lists

Codes

FormatValue
HEX#52235b
RGBrgb(82 35 91)
HSLhsl(290.36 44.44% 24.71%)
OKLCHoklch(0.35 0.11 320.96)
CMYKcmyk(9.89% 61.54% 0% 64.31%)
Android#ff52235b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #52235b;
background-color: #52235b;
bg-[#52235b]