#402877 Color Information

In a RGB color space, hex #402877 is composed of 25.1% red, 15.7% green and 46.7% blue. Whereas in a CMYK color space, it is composed of 46.2% cyan, 66.4% magenta, 0% yellow and 53.3% black. It has a hue angle of 258.2 degrees, a saturation of 49.7% and a lightness of 31.2%. #402877 color hex could be obtained by blending #8050ee with #000000. Closest websafe color is: #333366.

    • R 25
    • G 16
    • B 47
    RGB color chart
    • C 46
    • M 66
    • Y 0
    • K 53
    CMYK color chart

#402877 color description : Dark moderate violet.

#402877 Color Conversion

The hexadecimal color #402877 has RGB values of R:64, G:40, B:119 and CMYK values of C:0.46, M:0.66, Y:0, K:0.53. Its decimal value is 4204663.

Hex triplet 402877 #402877
RGB Decimal 64, 40, 119 rgb(64,40,119)
RGB Percent 25.1, 15.7, 46.7 rgb(25.1%,15.7%,46.7%)
CMYK 46, 66, 0, 53
HSL 258.2°, 49.7, 31.2 hsl(258.2,49.7%,31.2%)
HSV (or HSB) 258.2°, 66.4, 46.7
Web Safe 333366 #333366
CIE-LAB 23.47, 31.169, -41.48
XYZ 6.202, 3.939, 17.885
xyY 0.221, 0.141, 3.939
CIE-LCH 23.47, 51.886, 306.922
CIE-LUV 23.47, 3.274, -51.952
Hunter-Lab 19.848, 21.046, -39.534
Binary 01000000, 00101000, 01110111

Color Schemes with #402877

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

Alternatives to #402877

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

Similar Colors

#402877 Preview

Text with hexadecimal color #402877

This text has a font color of #402877.

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

This paragraph has a background color of #402877.

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

This element has a border color of #402877.

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

Shades and Tints of #402877

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

Shade Color Variation
Tint Color Variation

Tones of #402877

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402877 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
  • #3a3545 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00407d Protanopia 1% of men
  • #00436f Deuteranopia 1% of men
  • #394348 Tritanopia 0.001% of the population
Trichromacy
  • #17377b Protanomaly 1% of men, 0.01% of women
  • #173971 Deuteranomaly 6% of men, 0.4% of women
  • #3b3959 Tritanomaly 0.01% of the population