Skip to content
Kolorvia
#403842

Color #403842

A nearly neutral, gray-leaning dark purple.

Conversions

HEX
#403842
RGB
rgb(64, 56, 66)
HSL
hsl(288, 8.2%, 23.9%)
HSV / HSB
hsv(288, 15.2%, 25.9%)
CMYK
cmyk(3%, 15.2%, 0%, 74.1%)
LAB
lab(24.68, 5.71, -4.89)
LCH
lch(24.68, 7.52, 319.42)
OKLCH
oklch(35.3%, 0.0201, 319.43)
HWB
hwb(288, 22%, 74.1%)

Harmony colors

Complementary

#3a4238

Analogous

#3b3842
#403842
#42383f

Triadic

#403842
#424038
#384240

Split-complementary

#403842
#3f4238
#38423b

Tetradic

#403842
#42383a
#3a4238
#384240

Square

#403842
#423b38
#3a4238
#383f42

Shades

Color #403842 mixed toward black.

#352f37
#2b252c
#201c21
#151316
#0b090b

Tints

Color #403842 mixed toward white.

#625665
#847388
#a396a6
#c1b9c4
#e0dce1

Tones

Color #403842 mixed toward gray.

#3f3941
#3f3a40
#3e3a3f
#3e3b3f
#3d3c3e

Accessibility

Aa White text on this color
11.28:1
Aa Black text on this color
1.86:1

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

Under color vision deficiencies

Protanopia

#3d3d40 · ΔE 6.6

Deuteranopia

#3d3e3f · ΔE 8.2

Tritanopia

#403e3d · ΔE 8

Achromatopsia

#3b3b3b · ΔE 8.1

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

Code

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

Related colors

Medium Orchid #ba55d3
Dark Violet #9400d3
Dark Orchid #9932cc
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd

Frequently asked questions

#403842 (#403842) is rgb(64, 56, 66) in RGB.

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