Skip to content
Kolorvia
#040007

Color #040007

A vivid, highly saturated very dark purple.

Conversions

HEX
#040007
RGB
rgb(4, 0, 7)
HSL
hsl(274.3, 100%, 1.4%)
HSV / HSB
hsv(274.3, 100%, 2.7%)
CMYK
cmyk(42.9%, 100%, 0%, 97.3%)
LAB
lab(0.37, 2.02, -2.28)
LCH
lch(0.37, 3.05, 311.54)
OKLCH
oklch(8%, 0.0392, 315.1)
HWB
hwb(274.3, 0%, 97.3%)

Harmony colors

Complementary

#030700

Analogous

#010007
#040007
#070007

Triadic

#040007
#070400
#000704

Split-complementary

#040007
#070700
#000701

Tetradic

#040007
#070003
#030700
#000704

Square

#040007
#070100
#030700
#000707

Shades

Color #040007 mixed toward black.

#030006
#030005
#020004
#010002
#010001

Tints

Color #040007 mixed toward white.

#34005b
#6400af
#9304ff
#b757ff
#dbabff

Tones

Color #040007 mixed toward gray.

#040107
#040106
#040205
#040205
#040304

Accessibility

Aa White text on this color
20.83:1
Aa Black text on this color
1.01:1

White text reads better on this background (20.83:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#020205 · ΔE 2.4

Deuteranopia

#030305 · ΔE 2.8

Tritanopia

#040404 · ΔE 3.5

Achromatopsia

#010101 · ΔE 3.5

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #040007;
Tailwind (arbitrary value)
bg-[#040007]

Related colors

Indigo #4b0082
Blue Violet #8a2be2
Rebecca Purple #663399
Dark Orchid #9932cc
Dark Violet #9400d3
Medium Orchid #ba55d3

Frequently asked questions

#040007 (#040007) is rgb(4, 0, 7) in RGB.

No, #040007 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #040007, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.