#402e56 Color Information

In a RGB color space, hex #402e56 is composed of 25.1% red, 18% green and 33.7% blue. Whereas in a CMYK color space, it is composed of 25.6% cyan, 46.5% magenta, 0% yellow and 66.3% black. It has a hue angle of 267 degrees, a saturation of 30.3% and a lightness of 25.9%. #402e56 color hex could be obtained by blending #805cac with #000000. Closest websafe color is: #333366.

    • R 25
    • G 18
    • B 34
    RGB color chart
    • C 26
    • M 47
    • Y 0
    • K 66
    CMYK color chart

#402e56 color description : Very dark desaturated violet.

#402e56 Color Conversion

The hexadecimal color #402e56 has RGB values of R:64, G:46, B:86 and CMYK values of C:0.26, M:0.47, Y:0, K:0.66. Its decimal value is 4206166.

Hex triplet 402e56 #402e56
RGB Decimal 64, 46, 86 rgb(64,46,86)
RGB Percent 25.1, 18, 33.7 rgb(25.1%,18%,33.7%)
CMYK 26, 47, 0, 66
HSL 267°, 30.3, 25.9 hsl(267,30.3%,25.9%)
HSV (or HSB) 267°, 46.5, 33.7
Web Safe 333366 #333366
CIE-LAB 22.709, 17.59, -21.243
XYZ 4.771, 3.716, 9.269
xyY 0.269, 0.209, 3.716
CIE-LCH 22.709, 27.58, 309.627
CIE-LUV 22.709, 5.383, -26.472
Hunter-Lab 19.277, 10.443, -15.017
Binary 01000000, 00101110, 01010110

Color Schemes with #402e56

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

Alternatives to #402e56

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

Similar Colors

#402e56 Preview

Text with hexadecimal color #402e56

This text has a font color of #402e56.

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

This paragraph has a background color of #402e56.

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

This element has a border color of #402e56.

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

Shades and Tints of #402e56

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

Shade Color Variation
Tint Color Variation

Tones of #402e56

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402e56 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
  • #3a363e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #313f63 Protanopia 1% of men
  • #33405c Deuteranopia 1% of men
  • #443f43 Tritanopia 0.001% of the population
Trichromacy
  • #36395e Protanomaly 1% of men, 0.01% of women
  • #383959 Deuteranomaly 6% of men, 0.4% of women
  • #42384a Tritanomaly 0.01% of the population