Skip to content
Vectorlight.net

#31086a

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

HEX
#31086a
RGB
49, 8, 106
HSL
265.1°, 85.96%, 22.35%
OKLCH
0.28 0.15 292.72
Names
—
Lists

Codes

FormatValue
HEX#31086a
RGBrgb(49 8 106)
HSLhsl(265.1 85.96% 22.35%)
OKLCHoklch(0.28 0.15 292.72)
CMYKcmyk(53.77% 92.45% 0% 58.43%)
Android#ff31086a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #31086a;
background-color: #31086a;
bg-[#31086a]