Skip to content
Vectorlight.net

#341850

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

HEX
#341850
RGB
52, 24, 80
HSL
270°, 53.85%, 20.39%
OKLCH
0.28 0.1 303.62
Names
—
Lists

Codes

FormatValue
HEX#341850
RGBrgb(52 24 80)
HSLhsl(270 53.85% 20.39%)
OKLCHoklch(0.28 0.1 303.62)
CMYKcmyk(35% 70% 0% 68.63%)
Android#ff341850

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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