Skip to content
Vectorlight.net

#4a124f

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

HEX
#4a124f
RGB
74, 18, 79
HSL
295.08°, 62.89%, 19.02%
OKLCH
0.31 0.12 324.38
Names
—
Lists

Codes

FormatValue
HEX#4a124f
RGBrgb(74 18 79)
HSLhsl(295.08 62.89% 19.02%)
OKLCHoklch(0.31 0.12 324.38)
CMYKcmyk(6.33% 77.22% 0% 69.02%)
Android#ff4a124f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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