#402170 Color Information

In a RGB color space, hex #402170 is composed of 25.1% red, 12.9% green and 43.9% blue. Whereas in a CMYK color space, it is composed of 42.9% cyan, 70.5% magenta, 0% yellow and 56.1% black. It has a hue angle of 263.5 degrees, a saturation of 54.5% and a lightness of 28.4%. #402170 color hex could be obtained by blending #8042e0 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

#402170 color description : Very dark violet.

#402170 Color Conversion

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

Hex triplet 402170 #402170
RGB Decimal 64, 33, 112 rgb(64,33,112)
RGB Percent 25.1, 12.9, 43.9 rgb(25.1%,12.9%,43.9%)
CMYK 43, 71, 0, 56
HSL 263.5°, 54.5, 28.4 hsl(263.5,54.5%,28.4%)
HSV (or HSB) 263.5°, 70.5, 43.9
Web Safe 333366 #333366
CIE-LAB 21.385, 33.212, -40.375
XYZ 5.582, 3.348, 15.68
xyY 0.227, 0.136, 3.348
CIE-LCH 21.385, 52.28, 309.44
CIE-LUV 21.385, 5.364, -48.754
Hunter-Lab 18.296, 22.443, -38.006
Binary 01000000, 00100001, 01110000

Color Schemes with #402170

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

Alternatives to #402170

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

Similar Colors

#402170 Preview

Text with hexadecimal color #402170

This text has a font color of #402170.

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

This paragraph has a background color of #402170.

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

This element has a border color of #402170.

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

Shades and Tints of #402170

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

Shade Color Variation
Tint Color Variation

Tones of #402170

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402170 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
  • #3b3e42 Tritanopia 0.001% of the population
Trichromacy
  • #173273 Protanomaly 1% of men, 0.01% of women
  • #17346a Deuteranomaly 6% of men, 0.4% of women
  • #3c3353 Tritanomaly 0.01% of the population