Skip to content
Kolorvia
#08040b

Color #08040b

A moderately saturated very dark purple.

Conversions

HEX
#08040b
RGB
rgb(8, 4, 11)
HSL
hsl(274.3, 46.7%, 2.9%)
HSV / HSB
hsv(274.3, 63.6%, 4.3%)
CMYK
cmyk(27.3%, 63.6%, 0%, 95.7%)
LAB
lab(1.47, 2.02, -2.29)
LCH
lch(1.47, 3.05, 311.42)
OKLCH
oklch(12%, 0.0211, 312.69)
HWB
hwb(274.3, 1.6%, 95.7%)

Harmony colors

Complementary

#070b04

Analogous

#04040b
#08040b
#0b040a

Triadic

#08040b
#0b0804
#040b08

Split-complementary

#08040b
#0a0b04
#040b04

Tetradic

#08040b
#0b0407
#070b04
#040b08

Square

#08040b
#0b0404
#070b04
#040a0b

Shades

Color #08040b mixed toward black.

#070309
#050307
#040205
#030104
#010102

Tints

Color #08040b mixed toward white.

#341a47
#603084
#8b49bd
#b286d3
#d8c2e9

Tones

Color #08040b mixed toward gray.

#08050a
#08050a
#080609
#080609
#070708

Accessibility

Aa White text on this color
20.34:1
Aa Black text on this color
1.03:1

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

Under color vision deficiencies

Protanopia

#060609 · ΔE 2.4

Deuteranopia

#070709 · ΔE 2.8

Tritanopia

#080808 · ΔE 3.5

Achromatopsia

#050505 · ΔE 3.5

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

Code

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

Related colors

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

Frequently asked questions

#08040b (#08040b) is rgb(8, 4, 11) in RGB.

No, #08040b is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #08040b, 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.