#402d5e Color Information

In a RGB color space, hex #402d5e is composed of 25.1% red, 17.6% green and 36.9% blue. Whereas in a CMYK color space, it is composed of 31.9% cyan, 52.1% magenta, 0% yellow and 63.1% black. It has a hue angle of 263.3 degrees, a saturation of 35.3% and a lightness of 27.3%. #402d5e color hex could be obtained by blending #805abc with #000000. Closest websafe color is: #333366.

    • R 25
    • G 18
    • B 37
    RGB color chart
    • C 32
    • M 52
    • Y 0
    • K 63
    CMYK color chart

#402d5e color description : Very dark desaturated violet.

#402d5e Color Conversion

The hexadecimal color #402d5e has RGB values of R:64, G:45, B:94 and CMYK values of C:0.32, M:0.52, Y:0, K:0.63. Its decimal value is 4205918.

Hex triplet 402d5e #402d5e
RGB Decimal 64, 45, 94 rgb(64,45,94)
RGB Percent 25.1, 17.6, 36.9 rgb(25.1%,17.6%,36.9%)
CMYK 32, 52, 0, 63
HSL 263.3°, 35.3, 27.3 hsl(263.3,35.3%,27.3%)
HSV (or HSB) 263.3°, 52.1, 36.9
Web Safe 333366 #333366
CIE-LAB 22.913, 20.524, -26.199
XYZ 5.073, 3.775, 11.05
xyY 0.255, 0.19, 3.775
CIE-LCH 22.913, 33.281, 308.074
CIE-LUV 22.913, 4.794, -32.807
Hunter-Lab 19.429, 12.604, -20.121
Binary 01000000, 00101101, 01011110

Color Schemes with #402d5e

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

Alternatives to #402d5e

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

Similar Colors

#402d5e Preview

Text with hexadecimal color #402d5e

This text has a font color of #402d5e.

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

This paragraph has a background color of #402d5e.

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

This element has a border color of #402d5e.

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

Shades and Tints of #402d5e

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

Shade Color Variation
Tint Color Variation

Tones of #402d5e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402d5e 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
  • #3a3640 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #2a3f6c Protanopia 1% of men
  • #2c4163 Deuteranopia 1% of men
  • #424044 Tritanopia 0.001% of the population
Trichromacy
  • #323867 Protanomaly 1% of men, 0.01% of women
  • #333961 Deuteranomaly 6% of men, 0.4% of women
  • #41394e Tritanomaly 0.01% of the population