#402b74 Color Information

In a RGB color space, hex #402b74 is composed of 25.1% red, 16.9% green and 45.5% blue. Whereas in a CMYK color space, it is composed of 44.8% cyan, 62.9% magenta, 0% yellow and 54.5% black. It has a hue angle of 257.3 degrees, a saturation of 45.9% and a lightness of 31.2%. #402b74 color hex could be obtained by blending #8056e8 with #000000. Closest websafe color is: #333366.

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

#402b74 color description : Dark moderate violet.

#402b74 Color Conversion

The hexadecimal color #402b74 has RGB values of R:64, G:43, B:116 and CMYK values of C:0.45, M:0.63, Y:0, K:0.55. Its decimal value is 4205428.

Hex triplet 402b74 #402b74
RGB Decimal 64, 43, 116 rgb(64,43,116)
RGB Percent 25.1, 16.9, 45.5 rgb(25.1%,16.9%,45.5%)
CMYK 45, 63, 0, 55
HSL 257.3°, 45.9, 31.2 hsl(257.3,45.9%,31.2%)
HSV (or HSB) 257.3°, 62.9, 45.5
Web Safe 333366 #333366
CIE-LAB 23.93, 28.404, -38.821
XYZ 6.13, 4.079, 16.986
xyY 0.225, 0.15, 4.079
CIE-LCH 23.93, 48.102, 306.191
CIE-LUV 23.93, 2.951, -49.139
Hunter-Lab 20.196, 18.838, -35.731
Binary 01000000, 00101011, 01110100

Color Schemes with #402b74

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

Alternatives to #402b74

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

Similar Colors

#402b74 Preview

Text with hexadecimal color #402b74

This text has a font color of #402b74.

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

This paragraph has a background color of #402b74.

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

This element has a border color of #402b74.

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

Shades and Tints of #402b74

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

Shade Color Variation
Tint Color Variation

Tones of #402b74

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402b74 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
  • #3a3a3a Achromatopsia 0.005% of the population
  • #3b3746 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00417f Protanopia 1% of men
  • #004471 Deuteranopia 1% of men
  • #3a4449 Tritanopia 0.001% of the population
Trichromacy
  • #17397b Protanomaly 1% of men, 0.01% of women
  • #173b72 Deuteranomaly 6% of men, 0.4% of women
  • #3c3b59 Tritanomaly 0.01% of the population