Skip to content
Vectorlight.net

#501662

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

HEX
#501662
RGB
80, 22, 98
HSL
285.79°, 63.33%, 23.53%
OKLCH
0.33 0.13 316.85
Names
—
Lists

Codes

FormatValue
HEX#501662
RGBrgb(80 22 98)
HSLhsl(285.79 63.33% 23.53%)
OKLCHoklch(0.33 0.13 316.85)
CMYKcmyk(18.37% 77.55% 0% 61.57%)
Android#ff501662

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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