Skip to content
Vectorlight.net

#4d196a

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

HEX
#4d196a
RGB
77, 25, 106
HSL
278.52°, 61.83%, 25.69%
OKLCH
0.34 0.14 310.39
Names
—
Lists

Codes

FormatValue
HEX#4d196a
RGBrgb(77 25 106)
HSLhsl(278.52 61.83% 25.69%)
OKLCHoklch(0.34 0.14 310.39)
CMYKcmyk(27.36% 76.42% 0% 58.43%)
Android#ff4d196a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #4d196a;
background-color: #4d196a;
bg-[#4d196a]