#402d42 Color Information

In a RGB color space, hex #402d42 is composed of 25.1% red, 17.6% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 3% cyan, 31.8% magenta, 0% yellow and 74.1% black. It has a hue angle of 294.3 degrees, a saturation of 18.9% and a lightness of 21.8%. #402d42 color hex could be obtained by blending #805a84 with #000000. Closest websafe color is: #333333.

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

#402d42 color description : Very dark grayish magenta.

#402d42 Color Conversion

The hexadecimal color #402d42 has RGB values of R:64, G:45, B:66 and CMYK values of C:0.03, M:0.32, Y:0, K:0.74. Its decimal value is 4205890.

Hex triplet 402d42 #402d42
RGB Decimal 64, 45, 66 rgb(64,45,66)
RGB Percent 25.1, 17.6, 25.9 rgb(25.1%,17.6%,25.9%)
CMYK 3, 32, 0, 74
HSL 294.3°, 18.9, 21.8 hsl(294.3,18.9%,21.8%)
HSV (or HSB) 294.3°, 31.8, 25.9
Web Safe 333333 #333333
CIE-LAB 21.432, 13.091, -9.794
XYZ 4.036, 3.36, 5.59
xyY 0.311, 0.259, 3.36
CIE-LCH 21.432, 16.35, 323.199
CIE-LUV 21.432, 8.044, -12.16
Hunter-Lab 18.331, 7.222, -5.249
Binary 01000000, 00101101, 01000010

Color Schemes with #402d42

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

Alternatives to #402d42

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

Similar Colors

#402d42 Preview

Text with hexadecimal color #402d42

This text has a font color of #402d42.

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

This paragraph has a background color of #402d42.

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

This element has a border color of #402d42.

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

Shades and Tints of #402d42

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

Shade Color Variation
Tint Color Variation

Tones of #402d42

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402d42 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
  • #353535 Achromatopsia 0.005% of the population
  • #373338 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #383d4f Protanopia 1% of men
  • #3d3c4a Deuteranopia 1% of men
  • #473a3e Tritanopia 0.001% of the population
Trichromacy
  • #3b374a Protanomaly 1% of men, 0.01% of women
  • #3e3747 Deuteranomaly 6% of men, 0.4% of women
  • #44353f Tritanomaly 0.01% of the population