#402a76 Color Information

In a RGB color space, hex #402a76 is composed of 25.1% red, 16.5% green and 46.3% blue. Whereas in a CMYK color space, it is composed of 45.8% cyan, 64.4% magenta, 0% yellow and 53.7% black. It has a hue angle of 257.4 degrees, a saturation of 47.5% and a lightness of 31.4%. #402a76 color hex could be obtained by blending #8054ec with #000000. Closest websafe color is: #333366.

    • R 25
    • G 16
    • B 46
    RGB color chart
    • C 46
    • M 64
    • Y 0
    • K 54
    CMYK color chart

#402a76 color description : Dark moderate violet.

#402a76 Color Conversion

The hexadecimal color #402a76 has RGB values of R:64, G:42, B:118 and CMYK values of C:0.46, M:0.64, Y:0, K:0.54. Its decimal value is 4205174.

Hex triplet 402a76 #402a76
RGB Decimal 64, 42, 118 rgb(64,42,118)
RGB Percent 25.1, 16.5, 46.3 rgb(25.1%,16.5%,46.3%)
CMYK 46, 64, 0, 54
HSL 257.4°, 47.5, 31.4 hsl(257.4,47.5%,31.4%)
HSV (or HSB) 257.4°, 64.4, 46.3
Web Safe 333366 #333366
CIE-LAB 23.849, 29.64, -40.229
XYZ 6.212, 4.054, 17.594
xyY 0.223, 0.146, 4.054
CIE-LCH 23.849, 49.969, 306.382
CIE-LUV 23.849, 2.965, -50.781
Hunter-Lab 20.134, 19.836, -37.715
Binary 01000000, 00101010, 01110110

Color Schemes with #402a76

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

Alternatives to #402a76

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

Similar Colors

#402a76 Preview

Text with hexadecimal color #402a76

This text has a font color of #402a76.

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

This paragraph has a background color of #402a76.

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

This element has a border color of #402a76.

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

Shades and Tints of #402a76

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 #f5f3fb is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402a76

A tone is produced by adding gray to any pure hue. In this case, #504f51 is the less saturated color, while #30059b is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402a76 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
  • #393939 Achromatopsia 0.005% of the population
  • #3a3645 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00417f Protanopia 1% of men
  • #004470 Deuteranopia 1% of men
  • #394449 Tritanopia 0.001% of the population
Trichromacy
  • #17387b Protanomaly 1% of men, 0.01% of women
  • #173a72 Deuteranomaly 6% of men, 0.4% of women
  • #3c3b59 Tritanomaly 0.01% of the population