Skip to content
Vectorlight.net

#62287f

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

HEX
#62287f
RGB
98, 40, 127
HSL
280°, 52.1%, 32.75%
OKLCH
0.4 0.15 312.33
Names
—
Lists

Codes

FormatValue
HEX#62287f
RGBrgb(98 40 127)
HSLhsl(280 52.1% 32.75%)
OKLCHoklch(0.4 0.15 312.33)
CMYKcmyk(22.83% 68.5% 0% 50.2%)
Android#ff62287f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #62287f;
background-color: #62287f;
bg-[#62287f]