Skip to content
Vectorlight.net

#521895

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

HEX
#521895
RGB
82, 24, 149
HSL
267.84°, 72.25%, 33.92%
OKLCH
0.38 0.18 297.59
Names
—
Lists

Codes

FormatValue
HEX#521895
RGBrgb(82 24 149)
HSLhsl(267.84 72.25% 33.92%)
OKLCHoklch(0.38 0.18 297.59)
CMYKcmyk(44.97% 83.89% 0% 41.57%)
Android#ff521895

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #521895;
background-color: #521895;
bg-[#521895]