Skip to content
Vectorlight.net

#3e315f

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

HEX
#3e315f
RGB
62, 49, 95
HSL
256.96°, 31.94%, 28.24%
OKLCH
0.35 0.08 295.03
Names
—
Lists

Codes

FormatValue
HEX#3e315f
RGBrgb(62 49 95)
HSLhsl(256.96 31.94% 28.24%)
OKLCHoklch(0.35 0.08 295.03)
CMYKcmyk(34.74% 48.42% 0% 62.75%)
Android#ff3e315f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #3e315f;
background-color: #3e315f;
bg-[#3e315f]