Skip to content
Vectorlight.net

#40846e

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

HEX
#40846e
RGB
64, 132, 110
HSL
160.59°, 34.69%, 38.43%
OKLCH
0.56 0.08 169.95
Names
—
Lists

Codes

FormatValue
HEX#40846e
RGBrgb(64 132 110)
HSLhsl(160.59 34.69% 38.43%)
OKLCHoklch(0.56 0.08 169.95)
CMYKcmyk(51.52% 0% 16.67% 48.24%)
Android#ff40846e

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.42:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.74:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#40846e"
Gradient stop
<stop stop-color="#40846e"/>
CSS variable + fill
:root { --c: #40846e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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