#402879 Color Information

In a RGB color space, hex #402879 is composed of 25.1% red, 15.7% green and 47.5% blue. Whereas in a CMYK color space, it is composed of 47.1% cyan, 66.9% magenta, 0% yellow and 52.5% black. It has a hue angle of 257.8 degrees, a saturation of 50.3% and a lightness of 31.6%. #402879 color hex could be obtained by blending #8050f2 with #000000. Closest websafe color is: #333366.

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

#402879 color description : Dark moderate violet.

#402879 Color Conversion

The hexadecimal color #402879 has RGB values of R:64, G:40, B:121 and CMYK values of C:0.47, M:0.67, Y:0, K:0.53. Its decimal value is 4204665.

Hex triplet 402879 #402879
RGB Decimal 64, 40, 121 rgb(64,40,121)
RGB Percent 25.1, 15.7, 47.5 rgb(25.1%,15.7%,47.5%)
CMYK 47, 67, 0, 53
HSL 257.8°, 50.3, 31.6 hsl(257.8,50.3%,31.6%)
HSV (or HSB) 257.8°, 66.9, 47.5
Web Safe 333366 #333366
CIE-LAB 23.632, 31.778, -42.492
XYZ 6.324, 3.988, 18.525
xyY 0.219, 0.138, 3.988
CIE-LCH 23.632, 53.06, 306.791
CIE-LUV 23.632, 3.065, -53.288
Hunter-Lab 19.97, 21.577, -41.02
Binary 01000000, 00101000, 01111001

Color Schemes with #402879

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

Alternatives to #402879

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

Similar Colors

#402879 Preview

Text with hexadecimal color #402879

This text has a font color of #402879.

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

This paragraph has a background color of #402879.

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

This element has a border color of #402879.

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

Shades and Tints of #402879

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

Shade Color Variation
Tint Color Variation

Tones of #402879

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402879 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
  • #00407e Protanopia 1% of men
  • #00436f Deuteranopia 1% of men
  • #384449 Tritanopia 0.001% of the population
Trichromacy
  • #17377c Protanomaly 1% of men, 0.01% of women
  • #173972 Deuteranomaly 6% of men, 0.4% of women
  • #3b3a5a Tritanomaly 0.01% of the population