#402f42 Color Information

In a RGB color space, hex #402f42 is composed of 25.1% red, 18.4% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 3% cyan, 28.8% magenta, 0% yellow and 74.1% black. It has a hue angle of 293.7 degrees, a saturation of 16.8% and a lightness of 22.2%. #402f42 color hex could be obtained by blending #805e84 with #000000. Closest websafe color is: #333333.

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

#402f42 color description : Very dark grayish magenta.

#402f42 Color Conversion

The hexadecimal color #402f42 has RGB values of R:64, G:47, B:66 and CMYK values of C:0.03, M:0.29, Y:0, K:0.74. Its decimal value is 4206402.

Hex triplet 402f42 #402f42
RGB Decimal 64, 47, 66 rgb(64,47,66)
RGB Percent 25.1, 18.4, 25.9 rgb(25.1%,18.4%,25.9%)
CMYK 3, 29, 0, 74
HSL 293.7°, 16.8, 22.2 hsl(293.7,16.8%,22.2%)
HSV (or HSB) 293.7°, 28.8, 25.9
Web Safe 333333 #333333
CIE-LAB 22.004, 11.747, -8.924
XYZ 4.114, 3.516, 5.616
xyY 0.311, 0.265, 3.516
CIE-LCH 22.004, 14.752, 322.776
CIE-LUV 22.004, 7.272, -11.147
Hunter-Lab 18.752, 6.345, -4.63
Binary 01000000, 00101111, 01000010

Color Schemes with #402f42

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

Alternatives to #402f42

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

Similar Colors

#402f42 Preview

Text with hexadecimal color #402f42

This text has a font color of #402f42.

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

This paragraph has a background color of #402f42.

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

This element has a border color of #402f42.

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

Shades and Tints of #402f42

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

Shade Color Variation
Tint Color Variation

Tones of #402f42

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402f42 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
  • #363636 Achromatopsia 0.005% of the population
  • #383538 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #3a3e4e Protanopia 1% of men
  • #3f3d4a Deuteranopia 1% of men
  • #483c40 Tritanopia 0.001% of the population
Trichromacy
  • #3c384a Protanomaly 1% of men, 0.01% of women
  • #3f3847 Deuteranomaly 6% of men, 0.4% of women
  • #453740 Tritanomaly 0.01% of the population