#402a5e Color Information

In a RGB color space, hex #402a5e is composed of 25.1% red, 16.5% green and 36.9% blue. Whereas in a CMYK color space, it is composed of 31.9% cyan, 55.3% magenta, 0% yellow and 63.1% black. It has a hue angle of 265.4 degrees, a saturation of 38.2% and a lightness of 26.7%. #402a5e color hex could be obtained by blending #8054bc with #000000. Closest websafe color is: #333366.

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

#402a5e color description : Very dark desaturated violet.

#402a5e Color Conversion

The hexadecimal color #402a5e has RGB values of R:64, G:42, B:94 and CMYK values of C:0.32, M:0.55, Y:0, K:0.63. Its decimal value is 4205150.

Hex triplet 402a5e #402a5e
RGB Decimal 64, 42, 94 rgb(64,42,94)
RGB Percent 25.1, 16.5, 36.9 rgb(25.1%,16.5%,36.9%)
CMYK 32, 55, 0, 63
HSL 265.4°, 38.2, 26.7 hsl(265.4,38.2%,26.7%)
HSV (or HSB) 265.4°, 55.3, 36.9
Web Safe 333366 #333366
CIE-LAB 22.139, 22.484, -27.43
XYZ 4.962, 3.554, 11.014
xyY 0.254, 0.182, 3.554
CIE-LCH 22.139, 35.468, 309.341
CIE-LUV 22.139, 5.622, -33.974
Hunter-Lab 18.852, 13.994, -21.441
Binary 01000000, 00101010, 01011110

Color Schemes with #402a5e

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

Alternatives to #402a5e

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

Similar Colors

#402a5e Preview

Text with hexadecimal color #402a5e

This text has a font color of #402a5e.

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

This paragraph has a background color of #402a5e.

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

This element has a border color of #402a5e.

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

Shades and Tints of #402a5e

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, #09060d is the darkest color, while #fefeff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402a5e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402a5e 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
  • #373737 Achromatopsia 0.005% of the population
  • #39343f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #243d6d Protanopia 1% of men
  • #273f62 Deuteranopia 1% of men
  • #413e42 Tritanopia 0.001% of the population
Trichromacy
  • #2e3668 Protanomaly 1% of men, 0.01% of women
  • #303760 Deuteranomaly 6% of men, 0.4% of women
  • #41364c Tritanomaly 0.01% of the population