#402c78 Color Information

In a RGB color space, hex #402c78 is composed of 25.1% red, 17.3% green and 47.1% blue. Whereas in a CMYK color space, it is composed of 46.7% cyan, 63.3% magenta, 0% yellow and 52.9% black. It has a hue angle of 255.8 degrees, a saturation of 46.3% and a lightness of 32.2%. #402c78 color hex could be obtained by blending #8058f0 with #000000. Closest websafe color is: #333366.

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

#402c78 color description : Dark moderate violet.

#402c78 Color Conversion

The hexadecimal color #402c78 has RGB values of R:64, G:44, B:120 and CMYK values of C:0.47, M:0.63, Y:0, K:0.53. Its decimal value is 4205688.

Hex triplet 402c78 #402c78
RGB Decimal 64, 44, 120 rgb(64,44,120)
RGB Percent 25.1, 17.3, 47.1 rgb(25.1%,17.3%,47.1%)
CMYK 47, 63, 0, 53
HSL 255.8°, 46.3, 32.2 hsl(255.8,46.3%,32.2%)
HSV (or HSB) 255.8°, 63.3, 47.1
Web Safe 333366 #333366
CIE-LAB 24.473, 29.012, -40.492
XYZ 6.405, 4.247, 18.251
xyY 0.222, 0.147, 4.247
CIE-LCH 24.473, 49.813, 305.621
CIE-LUV 24.473, 2.331, -51.604
Hunter-Lab 20.609, 19.406, -38.079
Binary 01000000, 00101100, 01111000

Color Schemes with #402c78

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

Alternatives to #402c78

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

Similar Colors

#402c78 Preview

Text with hexadecimal color #402c78

This text has a font color of #402c78.

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

This paragraph has a background color of #402c78.

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

This element has a border color of #402c78.

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

Shades and Tints of #402c78

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

Shade Color Variation
Tint Color Variation

Tones of #402c78

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402c78 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
  • #3b3b3b Achromatopsia 0.005% of the population
  • #3c3847 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004281 Protanopia 1% of men
  • #004572 Deuteranopia 1% of men
  • #39464b Tritanopia 0.001% of the population
Trichromacy
  • #173a7e Protanomaly 1% of men, 0.01% of women
  • #173c74 Deuteranomaly 6% of men, 0.4% of women
  • #3b3c5b Tritanomaly 0.01% of the population