#402c40 Color Information

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

    • R 25
    • G 17
    • B 25
    RGB color chart
    • C 0
    • M 31
    • Y 0
    • K 75
    CMYK color chart

#402c40 color description : Very dark grayish magenta.

#402c40 Color Conversion

The hexadecimal color #402c40 has RGB values of R:64, G:44, B:64 and CMYK values of C:0, M:0.31, Y:0, K:0.75. Its decimal value is 4205632.

Hex triplet 402c40 #402c40
RGB Decimal 64, 44, 64 rgb(64,44,64)
RGB Percent 25.1, 17.3, 25.1 rgb(25.1%,17.3%,25.1%)
CMYK 0, 31, 0, 75
HSL 300°, 18.5, 21.2 hsl(300,18.5%,21.2%)
HSV (or HSB) 300°, 31.3, 25.1
Web Safe 333333 #333333
CIE-LAB 21.063, 13.296, -8.996
XYZ 3.94, 3.262, 5.272
xyY 0.316, 0.261, 3.262
CIE-LCH 21.063, 16.053, 325.919
CIE-LUV 21.063, 8.665, -11.208
Hunter-Lab 18.06, 7.34, -4.666
Binary 01000000, 00101100, 01000000

Color Schemes with #402c40

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

Alternatives to #402c40

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

Similar Colors

#402c40 Preview

Text with hexadecimal color #402c40

This text has a font color of #402c40.

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

This paragraph has a background color of #402c40.

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

This element has a border color of #402c40.

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

Shades and Tints of #402c40

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

Shade Color Variation
Tint Color Variation

Tones of #402c40

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402c40 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
  • #343434 Achromatopsia 0.005% of the population
  • #363236 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #383c4d Protanopia 1% of men
  • #3d3b48 Deuteranopia 1% of men
  • #47393d Tritanopia 0.001% of the population
Trichromacy
  • #3b3648 Protanomaly 1% of men, 0.01% of women
  • #3e3645 Deuteranomaly 6% of men, 0.4% of women
  • #45343e Tritanomaly 0.01% of the population