Skip to content
Vectorlight.net

#371eab

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

HEX
#371eab
RGB
55, 30, 171
HSL
250.64°, 70.15%, 39.41%
OKLCH
0.38 0.2 278.77
Names
—
Lists

Codes

FormatValue
HEX#371eab
RGBrgb(55 30 171)
HSLhsl(250.64 70.15% 39.41%)
OKLCHoklch(0.38 0.2 278.77)
CMYKcmyk(67.84% 82.46% 0% 32.94%)
Android#ff371eab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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