Skip to content
Vectorlight.net

#312973

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

HEX
#312973
RGB
49, 41, 115
HSL
246.49°, 47.44%, 30.59%
OKLCH
0.34 0.12 282.53
Names
—
Lists

Codes

FormatValue
HEX#312973
RGBrgb(49 41 115)
HSLhsl(246.49 47.44% 30.59%)
OKLCHoklch(0.34 0.12 282.53)
CMYKcmyk(57.39% 64.35% 0% 54.9%)
Android#ff312973

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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