Skip to content
Vectorlight.net

#400285

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

HEX
#400285
RGB
64, 2, 133
HSL
268.4°, 97.04%, 26.47%
OKLCH
0.33 0.18 294.03
Names
—
Lists

Codes

FormatValue
HEX#400285
RGBrgb(64 2 133)
HSLhsl(268.4 97.04% 26.47%)
OKLCHoklch(0.33 0.18 294.03)
CMYKcmyk(51.88% 98.5% 0% 47.84%)
Android#ff400285

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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