#402171 Color Information

In a RGB color space, hex #402171 is composed of 25.1% red, 12.9% green and 44.3% blue. Whereas in a CMYK color space, it is composed of 43.4% cyan, 70.8% magenta, 0% yellow and 55.7% black. It has a hue angle of 263.3 degrees, a saturation of 54.8% and a lightness of 28.6%. #402171 color hex could be obtained by blending #8042e2 with #000000. Closest websafe color is: #333366.

    • R 25
    • G 13
    • B 44
    RGB color chart
    • C 43
    • M 71
    • Y 0
    • K 56
    CMYK color chart

#402171 color description : Very dark violet.

#402171 Color Conversion

The hexadecimal color #402171 has RGB values of R:64, G:33, B:113 and CMYK values of C:0.43, M:0.71, Y:0, K:0.56. Its decimal value is 4202865.

Hex triplet 402171 #402171
RGB Decimal 64, 33, 113 rgb(64,33,113)
RGB Percent 25.1, 12.9, 44.3 rgb(25.1%,12.9%,44.3%)
CMYK 43, 71, 0, 56
HSL 263.3°, 54.8, 28.6 hsl(263.3,54.8%,28.6%)
HSV (or HSB) 263.3°, 70.8, 44.3
Web Safe 333366 #333366
CIE-LAB 21.468, 33.501, -40.885
XYZ 5.638, 3.37, 15.975
xyY 0.226, 0.135, 3.37
CIE-LCH 21.468, 52.857, 309.331
CIE-LUV 21.468, 5.242, -49.406
Hunter-Lab 18.357, 22.7, -38.746
Binary 01000000, 00100001, 01110001

Color Schemes with #402171

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

Alternatives to #402171

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

Similar Colors

#402171 Preview

Text with hexadecimal color #402171

This text has a font color of #402171.

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

This paragraph has a background color of #402171.

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

This element has a border color of #402171.

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

Shades and Tints of #402171

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

Shade Color Variation
Tint Color Variation

Tones of #402171

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402171 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
  • #333333 Achromatopsia 0.005% of the population
  • #362f3f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003c75 Protanopia 1% of men
  • #003f67 Deuteranopia 1% of men
  • #3a3e43 Tritanopia 0.001% of the population
Trichromacy
  • #173273 Protanomaly 1% of men, 0.01% of women
  • #17346b Deuteranomaly 6% of men, 0.4% of women
  • #3c3353 Tritanomaly 0.01% of the population