Skip to content
Vectorlight.net

#371eca

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

HEX
#371eca
RGB
55, 30, 202
HSL
248.72°, 74.14%, 45.49%
OKLCH
0.42 0.24 275.17
Names
—
Lists

Codes

FormatValue
HEX#371eca
RGBrgb(55 30 202)
HSLhsl(248.72 74.14% 45.49%)
OKLCHoklch(0.42 0.24 275.17)
CMYKcmyk(72.77% 85.15% 0% 20.78%)
Android#ff371eca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #371eca;
background-color: #371eca;
bg-[#371eca]