Skip to content
Vectorlight.net

#7331af

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

HEX
#7331af
RGB
115, 49, 175
HSL
271.43°, 56.25%, 43.92%
OKLCH
0.47 0.19 303.75
Names
—
Lists

Codes

FormatValue
HEX#7331af
RGBrgb(115 49 175)
HSLhsl(271.43 56.25% 43.92%)
OKLCHoklch(0.47 0.19 303.75)
CMYKcmyk(34.29% 72% 0% 31.37%)
Android#ff7331af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7331af;
background-color: #7331af;
bg-[#7331af]