#402056 Color Information

In a RGB color space, hex #402056 is composed of 25.1% red, 12.5% green and 33.7% blue. Whereas in a CMYK color space, it is composed of 25.6% cyan, 62.8% magenta, 0% yellow and 66.3% black. It has a hue angle of 275.6 degrees, a saturation of 45.8% and a lightness of 23.1%. #402056 color hex could be obtained by blending #8040ac with #000000. Closest websafe color is: #333366.

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

#402056 color description : Very dark violet.

#402056 Color Conversion

The hexadecimal color #402056 has RGB values of R:64, G:32, B:86 and CMYK values of C:0.26, M:0.63, Y:0, K:0.66. Its decimal value is 4202582.

Hex triplet 402056 #402056
RGB Decimal 64, 32, 86 rgb(64,32,86)
RGB Percent 25.1, 12.5, 33.7 rgb(25.1%,12.5%,33.7%)
CMYK 26, 63, 0, 66
HSL 275.6°, 45.8, 23.1 hsl(275.6,45.8%,23.1%)
HSV (or HSB) 275.6°, 62.8, 33.7
Web Safe 333366 #333366
CIE-LAB 19.203, 26.565, -26.798
XYZ 4.31, 2.795, 9.116
xyY 0.266, 0.172, 2.795
CIE-LCH 19.203, 37.734, 314.749
CIE-LUV 19.203, 9.105, -31.575
Hunter-Lab 16.718, 16.764, -20.627
Binary 01000000, 00100000, 01010110

Color Schemes with #402056

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

Alternatives to #402056

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

Similar Colors

#402056 Preview

Text with hexadecimal color #402056

This text has a font color of #402056.

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

This paragraph has a background color of #402056.

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

This element has a border color of #402056.

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

Shades and Tints of #402056

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

Shade Color Variation
Tint Color Variation

Tones of #402056

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402056 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
  • #303030 Achromatopsia 0.005% of the population
  • #332d38 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #173769 Protanopia 1% of men
  • #22395a Deuteranopia 1% of men
  • #42363a Tritanopia 0.001% of the population
Trichromacy
  • #262f62 Protanomaly 1% of men, 0.01% of women
  • #2d3058 Deuteranomaly 6% of men, 0.4% of women
  • #412e44 Tritanomaly 0.01% of the population