#402a40 Color Information

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

    • R 25
    • G 16
    • B 25
    RGB color chart
    • C 0
    • M 34
    • Y 0
    • K 75
    CMYK color chart

#402a40 color description : Very dark grayish magenta.

#402a40 Color Conversion

The hexadecimal color #402a40 has RGB values of R:64, G:42, B:64 and CMYK values of C:0, M:0.34, Y:0, K:0.75. Its decimal value is 4205120.

Hex triplet 402a40 #402a40
RGB Decimal 64, 42, 64 rgb(64,42,64)
RGB Percent 25.1, 16.5, 25.1 rgb(25.1%,16.5%,25.1%)
CMYK 0, 34, 0, 75
HSL 300°, 20.8, 20.8 hsl(300,20.8%,20.8%)
HSV (or HSB) 300°, 34.4, 25.1
Web Safe 333333 #333333
CIE-LAB 20.503, 14.635, -9.848
XYZ 3.868, 3.116, 5.248
xyY 0.316, 0.255, 3.116
CIE-LCH 20.503, 17.64, 326.064
CIE-LUV 20.503, 9.411, -12.173
Hunter-Lab 17.653, 8.216, -5.269
Binary 01000000, 00101010, 01000000

Color Schemes with #402a40

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

Alternatives to #402a40

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

Similar Colors

#402a40 Preview

Text with hexadecimal color #402a40

This text has a font color of #402a40.

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

This paragraph has a background color of #402a40.

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

This element has a border color of #402a40.

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

Shades and Tints of #402a40

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, #050305 is the darkest color, while #faf8fa is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402a40

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402a40 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.

  • #333333 Achromatopsia 0.005% of the population
  • #363136 Atypical Achromatopsia 0.001% of the population
  • #363b4e Protanopia 1% of men
  • #3b3a48 Deuteranopia 1% of men
  • #47373b Tritanopia 0.001% of the population
  • #393548 Protanomaly 1% of men, 0.01% of women
  • #3d3445 Deuteranomaly 6% of men, 0.4% of women
  • #44323d Tritanomaly 0.01% of the population