#402874 Color Information

In a RGB color space, hex #402874 is composed of 25.1% red, 15.7% green and 45.5% blue. Whereas in a CMYK color space, it is composed of 44.8% cyan, 65.5% magenta, 0% yellow and 54.5% black. It has a hue angle of 258.9 degrees, a saturation of 48.7% and a lightness of 30.6%. #402874 color hex could be obtained by blending #8050e8 with #000000. Closest websafe color is: #333366.

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

#402874 color description : Dark moderate violet.

#402874 Color Conversion

The hexadecimal color #402874 has RGB values of R:64, G:40, B:116 and CMYK values of C:0.45, M:0.66, Y:0, K:0.55. Its decimal value is 4204660.

Hex triplet 402874 #402874
RGB Decimal 64, 40, 116 rgb(64,40,116)
RGB Percent 25.1, 15.7, 45.5 rgb(25.1%,15.7%,45.5%)
CMYK 45, 66, 0, 55
HSL 258.9°, 48.7, 30.6 hsl(258.9,48.7%,30.6%)
HSV (or HSB) 258.9°, 65.5, 45.5
Web Safe 333366 #333366
CIE-LAB 23.232, 30.26, -39.95
XYZ 6.025, 3.868, 16.951
xyY 0.224, 0.144, 3.868
CIE-LCH 23.232, 50.117, 307.141
CIE-LUV 23.232, 3.593, -49.934
Hunter-Lab 19.668, 20.26, -37.331
Binary 01000000, 00101000, 01110100

Color Schemes with #402874

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

Alternatives to #402874

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

Similar Colors

#402874 Preview

Text with hexadecimal color #402874

This text has a font color of #402874.

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

This paragraph has a background color of #402874.

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

This element has a border color of #402874.

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

Shades and Tints of #402874

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, #08050e is the darkest color, while #fefeff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402874

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402874 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
  • #383838 Achromatopsia 0.005% of the population
  • #3a3544 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003f7c Protanopia 1% of men
  • #00436e Deuteranopia 1% of men
  • #3a4347 Tritanopia 0.001% of the population
Trichromacy
  • #173779 Protanomaly 1% of men, 0.01% of women
  • #173970 Deuteranomaly 6% of men, 0.4% of women
  • #3c3957 Tritanomaly 0.01% of the population