Skip to content
Vectorlight.net

#040106

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

HEX
#040106
RGB
4, 1, 6
HSL
276°, 71.43%, 1.37%
OKLCH
0.09 0.03 314.84
Names
—
Lists

Codes

FormatValue
HEX#040106
RGBrgb(4 1 6)
HSLhsl(276 71.43% 1.37%)
OKLCHoklch(0.09 0.03 314.84)
CMYKcmyk(33.33% 83.33% 0% 97.65%)
Android#ff040106

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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