#402e40 Color Information

In a RGB color space, hex #402e40 is composed of 25.1% red, 18% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 28.1% magenta, 0% yellow and 74.9% black. It has a hue angle of 300 degrees, a saturation of 16.4% and a lightness of 21.6%. #402e40 color hex could be obtained by blending #805c80 with #000000. Closest websafe color is: #333333.

    • R 25
    • G 18
    • B 25
    RGB color chart
    • C 0
    • M 28
    • Y 0
    • K 75
    CMYK color chart

#402e40 color description : Very dark grayish magenta.

#402e40 Color Conversion

The hexadecimal color #402e40 has RGB values of R:64, G:46, B:64 and CMYK values of C:0, M:0.28, Y:0, K:0.75. Its decimal value is 4206144.

Hex triplet 402e40 #402e40
RGB Decimal 64, 46, 64 rgb(64,46,64)
RGB Percent 25.1, 18, 25.1 rgb(25.1%,18%,25.1%)
CMYK 0, 28, 0, 75
HSL 300°, 16.4, 21.6 hsl(300,16.4%,21.6%)
HSV (or HSB) 300°, 28.1, 25.1
Web Safe 333333 #333333
CIE-LAB 21.632, 11.952, -8.131
XYZ 4.017, 3.414, 5.298
xyY 0.316, 0.268, 3.414
CIE-LCH 21.632, 14.456, 325.772
CIE-LUV 21.632, 7.89, -10.207
Hunter-Lab 18.478, 6.466, -4.064
Binary 01000000, 00101110, 01000000

Color Schemes with #402e40

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #402e40

Below, you can see some colors close to #402e40. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#402e40 Preview

Text with hexadecimal color #402e40

This text has a font color of #402e40.

<span style="color:#402e40;">Text here</span>
#402e40 background color

This paragraph has a background color of #402e40.

<p style="background-color:#402e40;">Content here</p>
#402e40 border color

This element has a border color of #402e40.

<div style="border:1px solid #402e40;">Content here</div>
CSS codes
.text {color:#402e40;}
.background {background-color:#402e40;}
.border {border:1px solid #402e40;}

Shades and Tints of #402e40

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #070507 is the darkest color, while #fcfbfc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402e40

A tone is produced by adding gray to any pure hue. In this case, #383638 is the less saturated color, while #6a046a is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402e40 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.

  • #353535 Achromatopsia 0.005% of the population
  • #373437 Atypical Achromatopsia 0.001% of the population
  • #3a3d4d Protanopia 1% of men
  • #3f3d48 Deuteranopia 1% of men
  • #483a3f Tritanopia 0.001% of the population
  • #3c3848 Protanomaly 1% of men, 0.01% of women
  • #3f3745 Deuteranomaly 6% of men, 0.4% of women
  • #45363f Tritanomaly 0.01% of the population