#402740 Color Information

In a RGB color space, hex #402740 is composed of 25.1% red, 15.3% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 39.1% magenta, 0% yellow and 74.9% black. It has a hue angle of 300 degrees, a saturation of 24.3% and a lightness of 20.2%. #402740 color hex could be obtained by blending #804e80 with #000000. Closest websafe color is: #333333.

    • R 25
    • G 15
    • B 25
    RGB color chart
    • C 0
    • M 39
    • Y 0
    • K 75
    CMYK color chart

#402740 color description : Very dark desaturated magenta.

#402740 Color Conversion

The hexadecimal color #402740 has RGB values of R:64, G:39, B:64 and CMYK values of C:0, M:0.39, Y:0, K:0.75. Its decimal value is 4204352.

Hex triplet 402740 #402740
RGB Decimal 64, 39, 64 rgb(64,39,64)
RGB Percent 25.1, 15.3, 25.1 rgb(25.1%,15.3%,25.1%)
CMYK 0, 39, 0, 75
HSL 300°, 24.3, 20.2 hsl(300,24.3%,20.2%)
HSV (or HSB) 300°, 39.1, 25.1
Web Safe 333333 #333333
CIE-LAB 19.685, 16.63, -11.1
XYZ 3.765, 2.911, 5.214
xyY 0.317, 0.245, 2.911
CIE-LCH 19.685, 19.994, 326.278
CIE-LUV 19.685, 10.474, -13.547
Hunter-Lab 17.063, 9.53, -6.173
Binary 01000000, 00100111, 01000000

Color Schemes with #402740

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

Alternatives to #402740

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

Similar Colors

#402740 Preview

Text with hexadecimal color #402740

This text has a font color of #402740.

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

This paragraph has a background color of #402740.

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

This element has a border color of #402740.

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

Shades and Tints of #402740

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 #f9f6f9 is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402740

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402740 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
  • #313131 Achromatopsia 0.005% of the population
  • #342f34 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #33394e Protanopia 1% of men
  • #383947 Deuteranopia 1% of men
  • #473539 Tritanopia 0.001% of the population
Trichromacy
  • #383249 Protanomaly 1% of men, 0.01% of women
  • #3b3244 Deuteranomaly 6% of men, 0.4% of women
  • #44303b Tritanomaly 0.01% of the population