Skip to content
Vectorlight.net

#391598

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

HEX
#391598
RGB
57, 21, 152
HSL
256.49°, 75.72%, 33.92%
OKLCH
0.36 0.19 283.74
Names
—
Lists

Codes

FormatValue
HEX#391598
RGBrgb(57 21 152)
HSLhsl(256.49 75.72% 33.92%)
OKLCHoklch(0.36 0.19 283.74)
CMYKcmyk(62.5% 86.18% 0% 40.39%)
Android#ff391598

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #391598;
background-color: #391598;
bg-[#391598]