#402d74 Color Information

In a RGB color space, hex #402d74 is composed of 25.1% red, 17.6% green and 45.5% blue. Whereas in a CMYK color space, it is composed of 44.8% cyan, 61.2% magenta, 0% yellow and 54.5% black. It has a hue angle of 256.1 degrees, a saturation of 44.1% and a lightness of 31.6%. #402d74 color hex could be obtained by blending #805ae8 with #000000. Closest websafe color is: #333366.

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

#402d74 color description : Dark moderate violet.

#402d74 Color Conversion

The hexadecimal color #402d74 has RGB values of R:64, G:45, B:116 and CMYK values of C:0.45, M:0.61, Y:0, K:0.55. Its decimal value is 4205940.

Hex triplet 402d74 #402d74
RGB Decimal 64, 45, 116 rgb(64,45,116)
RGB Percent 25.1, 17.6, 45.5 rgb(25.1%,17.6%,45.5%)
CMYK 45, 61, 0, 55
HSL 256.1°, 44.1, 31.6 hsl(256.1,44.1%,31.6%)
HSV (or HSB) 256.1°, 61.2, 45.5
Web Safe 333366 #333366
CIE-LAB 24.41, 27.142, -38.045
XYZ 6.205, 4.228, 17.011
xyY 0.226, 0.154, 4.228
CIE-LCH 24.41, 46.734, 305.504
CIE-LUV 24.41, 2.494, -48.545
Hunter-Lab 20.561, 17.882, -34.66
Binary 01000000, 00101101, 01110100

Color Schemes with #402d74

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

Alternatives to #402d74

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

Similar Colors

#402d74 Preview

Text with hexadecimal color #402d74

This text has a font color of #402d74.

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

This paragraph has a background color of #402d74.

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

This element has a border color of #402d74.

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

Shades and Tints of #402d74

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

Shade Color Variation
Tint Color Variation

Tones of #402d74

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402d74 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
  • #3c3846 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004281 Protanopia 1% of men
  • #004573 Deuteranopia 1% of men
  • #3b454b Tritanopia 0.001% of the population
Trichromacy
  • #173a7c Protanomaly 1% of men, 0.01% of women
  • #173c73 Deuteranomaly 6% of men, 0.4% of women
  • #3c3c59 Tritanomaly 0.01% of the population