Skip to content
Vectorlight.net

#74178a

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

HEX
#74178a
RGB
116, 23, 138
HSL
288.52°, 71.43%, 31.57%
OKLCH
0.42 0.18 318.72
Names
—
Lists

Codes

FormatValue
HEX#74178a
RGBrgb(116 23 138)
HSLhsl(288.52 71.43% 31.57%)
OKLCHoklch(0.42 0.18 318.72)
CMYKcmyk(15.94% 83.33% 0% 45.88%)
Android#ff74178a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #74178a;
background-color: #74178a;
bg-[#74178a]