Skip to content
Vectorlight.net

#501eab

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

HEX
#501eab
RGB
80, 30, 171
HSL
261.28°, 70.15%, 39.41%
OKLCH
0.41 0.2 290.34
Names
—
Lists

Codes

FormatValue
HEX#501eab
RGBrgb(80 30 171)
HSLhsl(261.28 70.15% 39.41%)
OKLCHoklch(0.41 0.2 290.34)
CMYKcmyk(53.22% 82.46% 0% 32.94%)
Android#ff501eab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #501eab;
background-color: #501eab;
bg-[#501eab]