Skip to content
Vectorlight.net

#45309d

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

HEX
#45309d
RGB
69, 48, 157
HSL
251.56°, 53.17%, 40.2%
OKLCH
0.4 0.17 284.94
Names
—
Lists

Codes

FormatValue
HEX#45309d
RGBrgb(69 48 157)
HSLhsl(251.56 53.17% 40.2%)
OKLCHoklch(0.4 0.17 284.94)
CMYKcmyk(56.05% 69.43% 0% 38.43%)
Android#ff45309d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #45309d;
background-color: #45309d;
bg-[#45309d]