#402d40 Color Information

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

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

#402d40 color description : Very dark grayish magenta.

#402d40 Color Conversion

The hexadecimal color #402d40 has RGB values of R:64, G:45, B:64 and CMYK values of C:0, M:0.3, Y:0, K:0.75. Its decimal value is 4205888.

Hex triplet 402d40 #402d40
RGB Decimal 64, 45, 64 rgb(64,45,64)
RGB Percent 25.1, 17.6, 25.1 rgb(25.1%,17.6%,25.1%)
CMYK 0, 30, 0, 75
HSL 300°, 17.4, 21.4 hsl(300,17.4%,21.4%)
HSV (or HSB) 300°, 29.7, 25.1
Web Safe 333333 #333333
CIE-LAB 21.346, 12.624, -8.565
XYZ 3.978, 3.337, 5.285
xyY 0.316, 0.265, 3.337
CIE-LCH 21.346, 15.256, 325.846
CIE-LUV 21.346, 8.281, -10.712
Hunter-Lab 18.268, 6.903, -4.365
Binary 01000000, 00101101, 01000000

Color Schemes with #402d40

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

Alternatives to #402d40

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

Similar Colors

#402d40 Preview

Text with hexadecimal color #402d40

This text has a font color of #402d40.

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

This paragraph has a background color of #402d40.

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

This element has a border color of #402d40.

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

Shades and Tints of #402d40

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

Shade Color Variation
Tint Color Variation

Tones of #402d40

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402d40 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
  • #373337 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #393d4d Protanopia 1% of men
  • #3e3c48 Deuteranopia 1% of men
  • #483a3e Tritanopia 0.001% of the population
Trichromacy
  • #3b3748 Protanomaly 1% of men, 0.01% of women
  • #3e3645 Deuteranomaly 6% of men, 0.4% of women
  • #45353e Tritanomaly 0.01% of the population