Skip to content
Vectorlight.net

#523dab

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

HEX
#523dab
RGB
82, 61, 171
HSL
251.45°, 47.41%, 45.49%
OKLCH
0.45 0.17 286.27
Names
—
Lists

Codes

FormatValue
HEX#523dab
RGBrgb(82 61 171)
HSLhsl(251.45 47.41% 45.49%)
OKLCHoklch(0.45 0.17 286.27)
CMYKcmyk(52.05% 64.33% 0% 32.94%)
Android#ff523dab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #523dab;
background-color: #523dab;
bg-[#523dab]