Skip to content
Vectorlight.net

#642f93

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

HEX
#642f93
RGB
100, 47, 147
HSL
271.8°, 51.55%, 38.04%
OKLCH
0.43 0.16 304.89
Names
—
Lists

Codes

FormatValue
HEX#642f93
RGBrgb(100 47 147)
HSLhsl(271.8 51.55% 38.04%)
OKLCHoklch(0.43 0.16 304.89)
CMYKcmyk(31.97% 68.03% 0% 42.35%)
Android#ff642f93

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #642f93;
background-color: #642f93;
bg-[#642f93]