Skip to content
Vectorlight.net

#5e3371

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

HEX
#5e3371
RGB
94, 51, 113
HSL
281.61°, 37.8%, 32.16%
OKLCH
0.4 0.11 314.52
Names
—
Lists

Codes

FormatValue
HEX#5e3371
RGBrgb(94 51 113)
HSLhsl(281.61 37.8% 32.16%)
OKLCHoklch(0.4 0.11 314.52)
CMYKcmyk(16.81% 54.87% 0% 55.69%)
Android#ff5e3371

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5e3371;
background-color: #5e3371;
bg-[#5e3371]