Skip to content
Vectorlight.net

#312593

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

HEX
#312593
RGB
49, 37, 147
HSL
246.55°, 59.78%, 36.08%
OKLCH
0.36 0.17 278.49
Names
—
Lists

Codes

FormatValue
HEX#312593
RGBrgb(49 37 147)
HSLhsl(246.55 59.78% 36.08%)
OKLCHoklch(0.36 0.17 278.49)
CMYKcmyk(66.67% 74.83% 0% 42.35%)
Android#ff312593

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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