#402b40 Color Information

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

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

#402b40 color description : Very dark grayish magenta.

#402b40 Color Conversion

The hexadecimal color #402b40 has RGB values of R:64, G:43, B:64 and CMYK values of C:0, M:0.33, Y:0, K:0.75. Its decimal value is 4205376.

Hex triplet 402b40 #402b40
RGB Decimal 64, 43, 64 rgb(64,43,64)
RGB Percent 25.1, 16.9, 25.1 rgb(25.1%,16.9%,25.1%)
CMYK 0, 33, 0, 75
HSL 300°, 19.6, 21 hsl(300,19.6%,21%)
HSV (or HSB) 300°, 32.8, 25.1
Web Safe 333333 #333333
CIE-LAB 20.782, 13.966, -9.423
XYZ 3.904, 3.188, 5.26
xyY 0.316, 0.258, 3.188
CIE-LCH 20.782, 16.848, 325.992
CIE-LUV 20.782, 9.042, -11.695
Hunter-Lab 17.855, 7.778, -4.968
Binary 01000000, 00101011, 01000000

Color Schemes with #402b40

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

Alternatives to #402b40

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

Similar Colors

#402b40 Preview

Text with hexadecimal color #402b40

This text has a font color of #402b40.

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

This paragraph has a background color of #402b40.

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

This element has a border color of #402b40.

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

Shades and Tints of #402b40

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

Shade Color Variation
Tint Color Variation

Tones of #402b40

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402b40 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
  • #373c4d Protanopia 1% of men
  • #3c3b48 Deuteranopia 1% of men
  • #47383c Tritanopia 0.001% of the population
Trichromacy
  • #3a3548 Protanomaly 1% of men, 0.01% of women
  • #3d3545 Deuteranomaly 6% of men, 0.4% of women
  • #45333d Tritanomaly 0.01% of the population