#402c42 Color Information

In a RGB color space, hex #402c42 is composed of 25.1% red, 17.3% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 3% cyan, 33.3% magenta, 0% yellow and 74.1% black. It has a hue angle of 294.5 degrees, a saturation of 20% and a lightness of 21.6%. #402c42 color hex could be obtained by blending #805884 with #000000. Closest websafe color is: #333333.

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

#402c42 color description : Very dark grayish magenta.

#402c42 Color Conversion

The hexadecimal color #402c42 has RGB values of R:64, G:44, B:66 and CMYK values of C:0.03, M:0.33, Y:0, K:0.74. Its decimal value is 4205634.

Hex triplet 402c42 #402c42
RGB Decimal 64, 44, 66 rgb(64,44,66)
RGB Percent 25.1, 17.3, 25.9 rgb(25.1%,17.3%,25.9%)
CMYK 3, 33, 0, 74
HSL 294.5°, 20, 21.6 hsl(294.5,20%,21.6%)
HSV (or HSB) 294.5°, 33.3, 25.9
Web Safe 333333 #333333
CIE-LAB 21.15, 13.763, -10.225
XYZ 3.998, 3.285, 5.577
xyY 0.311, 0.255, 3.285
CIE-LCH 21.15, 17.145, 323.39
CIE-LUV 21.15, 8.42, -12.653
Hunter-Lab 18.124, 7.661, -5.559
Binary 01000000, 00101100, 01000010

Color Schemes with #402c42

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

Alternatives to #402c42

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

Similar Colors

#402c42 Preview

Text with hexadecimal color #402c42

This text has a font color of #402c42.

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

This paragraph has a background color of #402c42.

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

This element has a border color of #402c42.

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

Shades and Tints of #402c42

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

Shade Color Variation
Tint Color Variation

Tones of #402c42

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402c42 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
  • #363237 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #373c4f Protanopia 1% of men
  • #3c3c4a Deuteranopia 1% of men
  • #47393d Tritanopia 0.001% of the population
Trichromacy
  • #3a364a Protanomaly 1% of men, 0.01% of women
  • #3d3647 Deuteranomaly 6% of men, 0.4% of women
  • #44343f Tritanomaly 0.01% of the population