Skip to content
Vectorlight.net

#831040

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

HEX
#831040
RGB
131, 16, 64
HSL
334.96°, 78.23%, 28.82%
OKLCH
0.4 0.15 3.13
Names
—
Lists

Codes

FormatValue
HEX#831040
RGBrgb(131 16 64)
HSLhsl(334.96 78.23% 28.82%)
OKLCHoklch(0.4 0.15 3.13)
CMYKcmyk(0% 87.79% 51.15% 48.63%)
Android#ff831040

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #831040;
background-color: #831040;
bg-[#831040]