#402871 Color Information

In a RGB color space, hex #402871 is composed of 25.1% red, 15.7% green and 44.3% blue. Whereas in a CMYK color space, it is composed of 43.4% cyan, 64.6% magenta, 0% yellow and 55.7% black. It has a hue angle of 259.7 degrees, a saturation of 47.7% and a lightness of 30%. #402871 color hex could be obtained by blending #8050e2 with #000000. Closest websafe color is: #333366.

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

#402871 color description : Very dark violet.

#402871 Color Conversion

The hexadecimal color #402871 has RGB values of R:64, G:40, B:113 and CMYK values of C:0.43, M:0.65, Y:0, K:0.56. Its decimal value is 4204657.

Hex triplet 402871 #402871
RGB Decimal 64, 40, 113 rgb(64,40,113)
RGB Percent 25.1, 15.7, 44.3 rgb(25.1%,15.7%,44.3%)
CMYK 43, 65, 0, 56
HSL 259.7°, 47.7, 30 hsl(259.7,47.7%,30%)
HSV (or HSB) 259.7°, 64.6, 44.3
Web Safe 333366 #333366
CIE-LAB 22.998, 29.354, -38.405
XYZ 5.853, 3.8, 16.047
xyY 0.228, 0.148, 3.8
CIE-LCH 22.998, 48.338, 307.392
CIE-LUV 22.998, 3.918, -47.902
Hunter-Lab 19.493, 19.486, -35.163
Binary 01000000, 00101000, 01110001

Color Schemes with #402871

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

Alternatives to #402871

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

Similar Colors

#402871 Preview

Text with hexadecimal color #402871

This text has a font color of #402871.

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

This paragraph has a background color of #402871.

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

This element has a border color of #402871.

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

Shades and Tints of #402871

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, #07040c is the darkest color, while #fdfcfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402871

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402871 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
  • #373737 Achromatopsia 0.005% of the population
  • #393443 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003f7b Protanopia 1% of men
  • #00426d Deuteranopia 1% of men
  • #3b4247 Tritanopia 0.001% of the population
Trichromacy
  • #173677 Protanomaly 1% of men, 0.01% of women
  • #17386f Deuteranomaly 6% of men, 0.4% of women
  • #3d3856 Tritanomaly 0.01% of the population