Skip to content
Vectorlight.net

#391fdc

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

HEX
#391fdc
RGB
57, 31, 220
HSL
248.25°, 75.3%, 49.22%
OKLCH
0.44 0.26 274.15
Names
—
Lists

Codes

FormatValue
HEX#391fdc
RGBrgb(57 31 220)
HSLhsl(248.25 75.3% 49.22%)
OKLCHoklch(0.44 0.26 274.15)
CMYKcmyk(74.09% 85.91% 0% 13.73%)
Android#ff391fdc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #391fdc;
background-color: #391fdc;
bg-[#391fdc]