Skip to content
Vectorlight.net

#332ccf

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

HEX
#332ccf
RGB
51, 44, 207
HSL
242.58°, 64.94%, 49.22%
OKLCH
0.44 0.24 272.67
Names
—
Lists

Codes

FormatValue
HEX#332ccf
RGBrgb(51 44 207)
HSLhsl(242.58 64.94% 49.22%)
OKLCHoklch(0.44 0.24 272.67)
CMYKcmyk(75.36% 78.74% 0% 18.82%)
Android#ff332ccf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #332ccf;
background-color: #332ccf;
bg-[#332ccf]