#402542 Color Information

In a RGB color space, hex #402542 is composed of 25.1% red, 14.5% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 3% cyan, 43.9% magenta, 0% yellow and 74.1% black. It has a hue angle of 295.9 degrees, a saturation of 28.2% and a lightness of 20.2%. #402542 color hex could be obtained by blending #804a84 with #000000. Closest websafe color is: #333333.

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

#402542 color description : Very dark desaturated magenta.

#402542 Color Conversion

The hexadecimal color #402542 has RGB values of R:64, G:37, B:66 and CMYK values of C:0.03, M:0.44, Y:0, K:0.74. Its decimal value is 4203842.

Hex triplet 402542 #402542
RGB Decimal 64, 37, 66 rgb(64,37,66)
RGB Percent 25.1, 14.5, 25.9 rgb(25.1%,14.5%,25.9%)
CMYK 3, 44, 0, 74
HSL 295.9°, 28.2, 20.2 hsl(295.9,28.2%,20.2%)
HSV (or HSB) 295.9°, 43.9, 25.9
Web Safe 333333 #333333
CIE-LAB 19.252, 18.406, -13.142
XYZ 3.759, 2.807, 5.498
xyY 0.312, 0.233, 2.807
CIE-LCH 19.252, 22.616, 324.474
CIE-LUV 19.252, 10.842, -15.823
Hunter-Lab 16.753, 10.736, -7.73
Binary 01000000, 00100101, 01000010

Color Schemes with #402542

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

Alternatives to #402542

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

Similar Colors

#402542 Preview

Text with hexadecimal color #402542

This text has a font color of #402542.

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

This paragraph has a background color of #402542.

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

This element has a border color of #402542.

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

Shades and Tints of #402542

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

Shade Color Variation
Tint Color Variation

Tones of #402542

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402542 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
  • #303030 Achromatopsia 0.005% of the population
  • #332e34 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #303851 Protanopia 1% of men
  • #353849 Deuteranopia 1% of men
  • #463438 Tritanopia 0.001% of the population
Trichromacy
  • #36314b Protanomaly 1% of men, 0.01% of women
  • #393146 Deuteranomaly 6% of men, 0.4% of women
  • #442f3b Tritanomaly 0.01% of the population