Skip to content
Kolorvia
#08040a

Color #08040a

A moderately saturated very dark purple.

Conversions

HEX
#08040a
RGB
rgb(8, 4, 10)
HSL
hsl(280, 42.9%, 2.7%)
HSV / HSB
hsv(280, 60%, 3.9%)
CMYK
cmyk(20%, 60%, 0%, 96.1%)
LAB
lab(1.45, 1.88, -1.9)
LCH
lch(1.45, 2.67, 314.7)
OKLCH
oklch(11.9%, 0.0192, 316.26)
HWB
hwb(280, 1.6%, 96.1%)

Harmony colors

Complementary

#060a04

Analogous

#05040a
#08040a
#0a0409

Triadic

#08040a
#0a0804
#040a08

Split-complementary

#08040a
#090a04
#040a05

Tetradic

#08040a
#0a0406
#060a04
#040a08

Square

#08040a
#0a0504
#060a04
#04090a

Shades

Color #08040a mixed toward black.

#070308
#050307
#040205
#030103
#010102

Tints

Color #08040a mixed toward white.

#371c45
#663380
#954eb8
#b889d0
#dcc4e7

Tones

Color #08040a mixed toward gray.

#080409
#080509
#070508
#070608
#070607

Accessibility

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

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

Under color vision deficiencies

Protanopia

#060609 · ΔE 2.1

Deuteranopia

#070708 · ΔE 2.8

Tritanopia

#080707 · ΔE 2.9

Achromatopsia

#050505 · ΔE 3.2

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

Code

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

Related colors

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

Frequently asked questions

#08040a (#08040a) is rgb(8, 4, 10) in RGB.

No, #08040a 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 #08040a, 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.