Skip to content
Vectorlight.net

#310abd

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

HEX
#310abd
RGB
49, 10, 189
HSL
253.07°, 89.95%, 39.02%
OKLCH
0.39 0.24 275.14
Names
—
Lists

Codes

FormatValue
HEX#310abd
RGBrgb(49 10 189)
HSLhsl(253.07 89.95% 39.02%)
OKLCHoklch(0.39 0.24 275.14)
CMYKcmyk(74.07% 94.71% 0% 25.88%)
Android#ff310abd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #310abd;
background-color: #310abd;
bg-[#310abd]