#400c42 Color Information

In a RGB color space, hex #400c42 is composed of 25.1% red, 4.7% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 3% cyan, 81.8% magenta, 0% yellow and 74.1% black. It has a hue angle of 297.8 degrees, a saturation of 69.2% and a lightness of 15.3%. #400c42 color hex could be obtained by blending #801884 with #000000. Closest websafe color is: #330033.

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

#400c42 color description : Very dark magenta.

#400c42 Color Conversion

The hexadecimal color #400c42 has RGB values of R:64, G:12, B:66 and CMYK values of C:0.03, M:0.82, Y:0, K:0.74. Its decimal value is 4197442.

Hex triplet 400c42 #400c42
RGB Decimal 64, 12, 66 rgb(64,12,66)
RGB Percent 25.1, 4.7, 25.9 rgb(25.1%,4.7%,25.9%)
CMYK 3, 82, 0, 74
HSL 297.8°, 69.2, 15.3 hsl(297.8,69.2%,15.3%)
HSV (or HSB) 297.8°, 81.8, 25.9
Web Safe 330033 #330033
CIE-LAB 14.096, 32.214, -21.231
XYZ 3.229, 1.746, 5.321
xyY 0.314, 0.17, 1.746
CIE-LCH 14.096, 38.581, 326.613
CIE-LUV 14.096, 15.894, -22.363
Hunter-Lab 13.215, 20.488, -14.621
Binary 01000000, 00001100, 01000010

Color Schemes with #400c42

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

Alternatives to #400c42

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

Similar Colors

#400c42 Preview

Text with hexadecimal color #400c42

This text has a font color of #400c42.

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

This paragraph has a background color of #400c42.

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

This element has a border color of #400c42.

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

Shades and Tints of #400c42

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

Shade Color Variation
Tint Color Variation

Tones of #400c42

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #400c42 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.

  • #222222 Achromatopsia 0.005% of the population
  • #281e28 Atypical Achromatopsia 0.001% of the population
  • #002d59 Protanopia 1% of men
  • #222f45 Deuteranopia 1% of men
  • #452528 Tritanopia 0.001% of the population
  • #172151 Protanomaly 1% of men, 0.01% of women
  • #2d2244 Deuteranomaly 6% of men, 0.4% of women
  • #431c31 Tritanomaly 0.01% of the population