#402174 Color Information

In a RGB color space, hex #402174 is composed of 25.1% red, 12.9% green and 45.5% blue. Whereas in a CMYK color space, it is composed of 44.8% cyan, 71.6% magenta, 0% yellow and 54.5% black. It has a hue angle of 262.4 degrees, a saturation of 55.7% and a lightness of 29.2%. #402174 color hex could be obtained by blending #8042e8 with #000000. Closest websafe color is: #333366.

    • R 25
    • G 13
    • B 45
    RGB color chart
    • C 45
    • M 72
    • Y 0
    • K 55
    CMYK color chart

#402174 color description : Dark violet.

#402174 Color Conversion

The hexadecimal color #402174 has RGB values of R:64, G:33, B:116 and CMYK values of C:0.45, M:0.72, Y:0, K:0.55. Its decimal value is 4202868.

Hex triplet 402174 #402174
RGB Decimal 64, 33, 116 rgb(64,33,116)
RGB Percent 25.1, 12.9, 45.5 rgb(25.1%,12.9%,45.5%)
CMYK 45, 72, 0, 55
HSL 262.4°, 55.7, 29.2 hsl(262.4,55.7%,29.2%)
HSV (or HSB) 262.4°, 71.6, 45.5
Web Safe 333366 #333366
CIE-LAB 21.721, 34.371, -42.403
XYZ 5.81, 3.439, 16.88
xyY 0.222, 0.132, 3.439
CIE-LCH 21.721, 54.584, 309.028
CIE-LUV 21.721, 4.883, -51.353
Hunter-Lab 18.544, 23.476, -40.99
Binary 01000000, 00100001, 01110100

Color Schemes with #402174

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

Alternatives to #402174

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

Similar Colors

#402174 Preview

Text with hexadecimal color #402174

This text has a font color of #402174.

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

This paragraph has a background color of #402174.

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

This element has a border color of #402174.

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

Shades and Tints of #402174

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

Shade Color Variation
Tint Color Variation

Tones of #402174

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402174 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
  • #343434 Achromatopsia 0.005% of the population
  • #363041 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003c76 Protanopia 1% of men
  • #003f68 Deuteranopia 1% of men
  • #393f44 Tritanopia 0.001% of the population
Trichromacy
  • #173275 Protanomaly 1% of men, 0.01% of women
  • #17346c Deuteranomaly 6% of men, 0.4% of women
  • #3b3455 Tritanomaly 0.01% of the population