#402142 Color Information

In a RGB color space, hex #402142 is composed of 25.1% red, 12.9% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 3% cyan, 50% magenta, 0% yellow and 74.1% black. It has a hue angle of 296.4 degrees, a saturation of 33.3% and a lightness of 19.4%. #402142 color hex could be obtained by blending #804284 with #000000. Closest websafe color is: #333333.

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

#402142 color description : Very dark desaturated magenta.

#402142 Color Conversion

The hexadecimal color #402142 has RGB values of R:64, G:33, B:66 and CMYK values of C:0.03, M:0.5, Y:0, K:0.74. Its decimal value is 4202818.

Hex triplet 402142 #402142
RGB Decimal 64, 33, 66 rgb(64,33,66)
RGB Percent 25.1, 12.9, 25.9 rgb(25.1%,12.9%,25.9%)
CMYK 3, 50, 0, 74
HSL 296.4°, 33.3, 19.4 hsl(296.4,33.3%,19.4%)
HSV (or HSB) 296.4°, 50, 25.9
Web Safe 333333 #333333
CIE-LAB 18.238, 20.982, -14.715
XYZ 3.641, 2.571, 5.458
xyY 0.312, 0.22, 2.571
CIE-LCH 18.238, 25.628, 324.958
CIE-LUV 18.238, 12.042, -17.388
Hunter-Lab 16.035, 12.476, -8.958
Binary 01000000, 00100001, 01000010

Color Schemes with #402142

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

Alternatives to #402142

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

Similar Colors

#402142 Preview

Text with hexadecimal color #402142

This text has a font color of #402142.

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

This paragraph has a background color of #402142.

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

This element has a border color of #402142.

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

Shades and Tints of #402142

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

Shade Color Variation
Tint Color Variation

Tones of #402142

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402142 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
  • #2e2e2e Achromatopsia 0.005% of the population
  • #322b32 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #2c3652 Protanopia 1% of men
  • #323648 Deuteranopia 1% of men
  • #463135 Tritanopia 0.001% of the population
Trichromacy
  • #332e4c Protanomaly 1% of men, 0.01% of women
  • #372e46 Deuteranomaly 6% of men, 0.4% of women
  • #442b39 Tritanomaly 0.01% of the population