#402240 Color Information

In a RGB color space, hex #402240 is composed of 25.1% red, 13.3% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 46.9% magenta, 0% yellow and 74.9% black. It has a hue angle of 300 degrees, a saturation of 30.6% and a lightness of 19.2%. #402240 color hex could be obtained by blending #804480 with #000000. Closest websafe color is: #333333.

    • R 25
    • G 13
    • B 25
    RGB color chart
    • C 0
    • M 47
    • Y 0
    • K 75
    CMYK color chart

#402240 color description : Very dark desaturated magenta.

#402240 Color Conversion

The hexadecimal color #402240 has RGB values of R:64, G:34, B:64 and CMYK values of C:0, M:0.47, Y:0, K:0.75. Its decimal value is 4203072.

Hex triplet 402240 #402240
RGB Decimal 64, 34, 64 rgb(64,34,64)
RGB Percent 25.1, 13.3, 25.1 rgb(25.1%,13.3%,25.1%)
CMYK 0, 47, 0, 75
HSL 300°, 30.6, 19.2 hsl(300,30.6%,19.2%)
HSV (or HSB) 300°, 46.9, 25.1
Web Safe 333333 #333333
CIE-LAB 18.384, 19.89, -13.105
XYZ 3.612, 2.604, 5.163
xyY 0.317, 0.229, 2.604
CIE-LCH 18.384, 23.819, 326.62
CIE-LUV 18.384, 12.078, -15.62
Hunter-Lab 16.138, 11.707, -7.671
Binary 01000000, 00100010, 01000000

Color Schemes with #402240

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

Alternatives to #402240

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

Similar Colors

#402240 Preview

Text with hexadecimal color #402240

This text has a font color of #402240.

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

This paragraph has a background color of #402240.

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

This element has a border color of #402240.

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

Shades and Tints of #402240

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, #0d070d is the darkest color, while #ffffff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402240

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402240 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
  • #322c32 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #2e3650 Protanopia 1% of men
  • #343647 Deuteranopia 1% of men
  • #463235 Tritanopia 0.001% of the population
Trichromacy
  • #342f4a Protanomaly 1% of men, 0.01% of women
  • #382f44 Deuteranomaly 6% of men, 0.4% of women
  • #442c39 Tritanomaly 0.01% of the population