Skip to content
Vectorlight.net

#45126e

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

HEX
#45126e
RGB
69, 18, 110
HSL
273.26°, 71.88%, 25.1%
OKLCH
0.32 0.15 304.11
Names
—
Lists

Codes

FormatValue
HEX#45126e
RGBrgb(69 18 110)
HSLhsl(273.26 71.88% 25.1%)
OKLCHoklch(0.32 0.15 304.11)
CMYKcmyk(37.27% 83.64% 0% 56.86%)
Android#ff45126e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #45126e;
background-color: #45126e;
bg-[#45126e]