#402a5a Color Information

In a RGB color space, hex #402a5a is composed of 25.1% red, 16.5% green and 35.3% blue. Whereas in a CMYK color space, it is composed of 28.9% cyan, 53.3% magenta, 0% yellow and 64.7% black. It has a hue angle of 267.5 degrees, a saturation of 36.4% and a lightness of 25.9%. #402a5a color hex could be obtained by blending #8054b4 with #000000. Closest websafe color is: #333366.

    • R 25
    • G 16
    • B 35
    RGB color chart
    • C 29
    • M 53
    • Y 0
    • K 65
    CMYK color chart

#402a5a color description : Very dark desaturated violet.

#402a5a Color Conversion

The hexadecimal color #402a5a has RGB values of R:64, G:42, B:90 and CMYK values of C:0.29, M:0.53, Y:0, K:0.65. Its decimal value is 4205146.

Hex triplet 402a5a #402a5a
RGB Decimal 64, 42, 90 rgb(64,42,90)
RGB Percent 25.1, 16.5, 35.3 rgb(25.1%,16.5%,35.3%)
CMYK 29, 53, 0, 65
HSL 267.5°, 36.4, 25.9 hsl(267.5,36.4%,25.9%)
HSV (or HSB) 267.5°, 53.3, 35.3
Web Safe 333366 #333366
CIE-LAB 21.887, 21.348, -25.191
XYZ 4.787, 3.484, 10.093
xyY 0.261, 0.19, 3.484
CIE-LCH 21.887, 33.02, 310.281
CIE-LUV 21.887, 6.103, -31.088
Hunter-Lab 18.666, 13.117, -18.992
Binary 01000000, 00101010, 01011010

Color Schemes with #402a5a

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

Alternatives to #402a5a

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

Similar Colors

#402a5a Preview

Text with hexadecimal color #402a5a

This text has a font color of #402a5a.

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

This paragraph has a background color of #402a5a.

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

This element has a border color of #402a5a.

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

Shades and Tints of #402a5a

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, #07050a is the darkest color, while #fcfbfd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402a5a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402a5a 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
  • #363636 Achromatopsia 0.005% of the population
  • #38343d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #283d69 Protanopia 1% of men
  • #2b3f5f Deuteranopia 1% of men
  • #423d41 Tritanopia 0.001% of the population
Trichromacy
  • #313663 Protanomaly 1% of men, 0.01% of women
  • #33375d Deuteranomaly 6% of men, 0.4% of women
  • #41364a Tritanomaly 0.01% of the population