Skip to content
Vectorlight.net

#2a199b

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

HEX
#2a199b
RGB
42, 25, 155
HSL
247.85°, 72.22%, 35.29%
OKLCH
0.35 0.19 275.7
Names
—
Lists

Codes

FormatValue
HEX#2a199b
RGBrgb(42 25 155)
HSLhsl(247.85 72.22% 35.29%)
OKLCHoklch(0.35 0.19 275.7)
CMYKcmyk(72.9% 83.87% 0% 39.22%)
Android#ff2a199b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #2a199b;
background-color: #2a199b;
bg-[#2a199b]