#400842 Color Information

In a RGB color space, hex #400842 is composed of 25.1% red, 3.1% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 3% cyan, 87.9% magenta, 0% yellow and 74.1% black. It has a hue angle of 297.9 degrees, a saturation of 78.4% and a lightness of 14.5%. #400842 color hex could be obtained by blending #801084 with #000000. Closest websafe color is: #330033.

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

#400842 color description : Very dark magenta.

#400842 Color Conversion

The hexadecimal color #400842 has RGB values of R:64, G:8, B:66 and CMYK values of C:0.03, M:0.88, Y:0, K:0.74. Its decimal value is 4196418.

Hex triplet 400842 #400842
RGB Decimal 64, 8, 66 rgb(64,8,66)
RGB Percent 25.1, 3.1, 25.9 rgb(25.1%,3.1%,25.9%)
CMYK 3, 88, 0, 74
HSL 297.9°, 78.4, 14.5 hsl(297.9,78.4%,14.5%)
HSV (or HSB) 297.9°, 87.9, 25.9
Web Safe 330033 #330033
CIE-LAB 13.574, 33.713, -22.062
XYZ 3.184, 1.657, 5.306
xyY 0.314, 0.163, 1.657
CIE-LCH 13.574, 40.291, 326.799
CIE-LUV 13.574, 16.22, -22.775
Hunter-Lab 12.873, 21.628, -15.427
Binary 01000000, 00001000, 01000010

Color Schemes with #400842

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

Alternatives to #400842

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

Similar Colors

#400842 Preview

Text with hexadecimal color #400842

This text has a font color of #400842.

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

This paragraph has a background color of #400842.

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

This element has a border color of #400842.

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

Shades and Tints of #400842

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

Shade Color Variation
Tint Color Variation

Tones of #400842

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #400842 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
  • #1f1f1f Achromatopsia 0.005% of the population
  • #261a26 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #002c57 Protanopia 1% of men
  • #202e45 Deuteranopia 1% of men
  • #452426 Tritanopia 0.001% of the population
Trichromacy
  • #171f4f Protanomaly 1% of men, 0.01% of women
  • #2b2044 Deuteranomaly 6% of men, 0.4% of women
  • #431930 Tritanomaly 0.01% of the population