Skip to content
Vectorlight.net

#311024

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

HEX
#311024
RGB
49, 16, 36
HSL
323.64°, 50.77%, 12.75%
OKLCH
0.23 0.06 345.48
Names
—
Lists

Codes

FormatValue
HEX#311024
RGBrgb(49 16 36)
HSLhsl(323.64 50.77% 12.75%)
OKLCHoklch(0.23 0.06 345.48)
CMYKcmyk(0% 67.35% 26.53% 80.78%)
Android#ff311024

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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