#402e42 Color Information

In a RGB color space, hex #402e42 is composed of 25.1% red, 18% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 3% cyan, 30.3% magenta, 0% yellow and 74.1% black. It has a hue angle of 294 degrees, a saturation of 17.9% and a lightness of 22%. #402e42 color hex could be obtained by blending #805c84 with #000000. Closest websafe color is: #333333.

    • R 25
    • G 18
    • B 26
    RGB color chart
    • C 3
    • M 30
    • Y 0
    • K 74
    CMYK color chart

#402e42 color description : Very dark grayish magenta.

#402e42 Color Conversion

The hexadecimal color #402e42 has RGB values of R:64, G:46, B:66 and CMYK values of C:0.03, M:0.3, Y:0, K:0.74. Its decimal value is 4206146.

Hex triplet 402e42 #402e42
RGB Decimal 64, 46, 66 rgb(64,46,66)
RGB Percent 25.1, 18, 25.9 rgb(25.1%,18%,25.9%)
CMYK 3, 30, 0, 74
HSL 294°, 17.9, 22 hsl(294,17.9%,22%)
HSV (or HSB) 294°, 30.3, 25.9
Web Safe 333333 #333333
CIE-LAB 21.717, 12.419, -9.36
XYZ 4.075, 3.437, 5.603
xyY 0.311, 0.262, 3.437
CIE-LCH 21.717, 15.552, 322.995
CIE-LUV 21.717, 7.662, -11.658
Hunter-Lab 18.54, 6.783, -4.939
Binary 01000000, 00101110, 01000010

Color Schemes with #402e42

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

Alternatives to #402e42

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

Similar Colors

#402e42 Preview

Text with hexadecimal color #402e42

This text has a font color of #402e42.

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

This paragraph has a background color of #402e42.

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

This element has a border color of #402e42.

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

Shades and Tints of #402e42

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

Shade Color Variation
Tint Color Variation

Tones of #402e42

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

Tone Color Variation

Color Blindness Simulator

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

Monochromacy
  • #363636 Achromatopsia 0.005% of the population
  • #383438 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #393d4f Protanopia 1% of men
  • #3e3d4a Deuteranopia 1% of men
  • #473b3f Tritanopia 0.001% of the population
Trichromacy
  • #3c384a Protanomaly 1% of men, 0.01% of women
  • #3e3747 Deuteranomaly 6% of men, 0.4% of women
  • #453640 Tritanomaly 0.01% of the population