Skip to content
Vectorlight.net

#6a145a

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

HEX
#6a145a
RGB
106, 20, 90
HSL
311.16°, 68.25%, 24.71%
OKLCH
0.37 0.14 336.96
Names
—
Lists

Codes

FormatValue
HEX#6a145a
RGBrgb(106 20 90)
HSLhsl(311.16 68.25% 24.71%)
OKLCHoklch(0.37 0.14 336.96)
CMYKcmyk(0% 81.13% 15.09% 58.43%)
Android#ff6a145a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #6a145a;
background-color: #6a145a;
bg-[#6a145a]