Skip to content
Vectorlight.net

#6c2add

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

HEX
#6c2add
RGB
108, 42, 221
HSL
262.12°, 72.47%, 51.57%
OKLCH
0.5 0.24 291.31
Names
—
Lists

Codes

FormatValue
HEX#6c2add
RGBrgb(108 42 221)
HSLhsl(262.12 72.47% 51.57%)
OKLCHoklch(0.5 0.24 291.31)
CMYKcmyk(51.13% 81% 0% 13.33%)
Android#ff6c2add

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #6c2add;
background-color: #6c2add;
bg-[#6c2add]