Skip to content
Vectorlight.net

#671cab

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

HEX
#671cab
RGB
103, 28, 171
HSL
271.47°, 71.86%, 39.02%
OKLCH
0.43 0.2 301.46
Names
—
Lists

Codes

FormatValue
HEX#671cab
RGBrgb(103 28 171)
HSLhsl(271.47 71.86% 39.02%)
OKLCHoklch(0.43 0.2 301.46)
CMYKcmyk(39.77% 83.63% 0% 32.94%)
Android#ff671cab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #671cab;
background-color: #671cab;
bg-[#671cab]