Skip to content
Vectorlight.net

#3a136a

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

HEX
#3a136a
RGB
58, 19, 106
HSL
266.9°, 69.6%, 24.51%
OKLCH
0.31 0.14 297.77
Names
—
Lists

Codes

FormatValue
HEX#3a136a
RGBrgb(58 19 106)
HSLhsl(266.9 69.6% 24.51%)
OKLCHoklch(0.31 0.14 297.77)
CMYKcmyk(45.28% 82.08% 0% 58.43%)
Android#ff3a136a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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