#402b5b Color Information

In a RGB color space, hex #402b5b is composed of 25.1% red, 16.9% green and 35.7% blue. Whereas in a CMYK color space, it is composed of 29.7% cyan, 52.7% magenta, 0% yellow and 64.3% black. It has a hue angle of 266.3 degrees, a saturation of 35.8% and a lightness of 26.3%. #402b5b color hex could be obtained by blending #8056b6 with #000000. Closest websafe color is: #333366.

    • R 25
    • G 17
    • B 36
    RGB color chart
    • C 30
    • M 53
    • Y 0
    • K 64
    CMYK color chart

#402b5b color description : Very dark desaturated violet.

#402b5b Color Conversion

The hexadecimal color #402b5b has RGB values of R:64, G:43, B:91 and CMYK values of C:0.3, M:0.53, Y:0, K:0.64. Its decimal value is 4205403.

Hex triplet 402b5b #402b5b
RGB Decimal 64, 43, 91 rgb(64,43,91)
RGB Percent 25.1, 16.9, 35.7 rgb(25.1%,16.9%,35.7%)
CMYK 30, 53, 0, 64
HSL 266.3°, 35.8, 26.3 hsl(266.3,35.8%,26.3%)
HSV (or HSB) 266.3°, 52.7, 35.7
Web Safe 333366 #333366
CIE-LAB 22.207, 20.977, -25.344
XYZ 4.866, 3.573, 10.33
xyY 0.259, 0.19, 3.573
CIE-LCH 22.207, 32.9, 309.614
CIE-LUV 22.207, 5.704, -31.422
Hunter-Lab 18.903, 12.873, -19.17
Binary 01000000, 00101011, 01011011

Color Schemes with #402b5b

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

Alternatives to #402b5b

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

Similar Colors

#402b5b Preview

Text with hexadecimal color #402b5b

This text has a font color of #402b5b.

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

This paragraph has a background color of #402b5b.

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

This element has a border color of #402b5b.

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

Shades and Tints of #402b5b

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, #08050b is the darkest color, while #fdfdfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402b5b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402b5b 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
  • #39353e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #293e6a Protanopia 1% of men
  • #2c3f60 Deuteranopia 1% of men
  • #423e42 Tritanopia 0.001% of the population
Trichromacy
  • #313764 Protanomaly 1% of men, 0.01% of women
  • #33385e Deuteranomaly 6% of men, 0.4% of women
  • #41374b Tritanomaly 0.01% of the population