#402f56 Color Information

In a RGB color space, hex #402f56 is composed of 25.1% red, 18.4% green and 33.7% blue. Whereas in a CMYK color space, it is composed of 25.6% cyan, 45.3% magenta, 0% yellow and 66.3% black. It has a hue angle of 266.2 degrees, a saturation of 29.3% and a lightness of 26.1%. #402f56 color hex could be obtained by blending #805eac with #000000. Closest websafe color is: #333366.

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

#402f56 color description : Very dark desaturated violet.

#402f56 Color Conversion

The hexadecimal color #402f56 has RGB values of R:64, G:47, B:86 and CMYK values of C:0.26, M:0.45, Y:0, K:0.66. Its decimal value is 4206422.

Hex triplet 402f56 #402f56
RGB Decimal 64, 47, 86 rgb(64,47,86)
RGB Percent 25.1, 18.4, 33.7 rgb(25.1%,18.4%,33.7%)
CMYK 26, 45, 0, 66
HSL 266.2°, 29.3, 26.1 hsl(266.2,29.3%,26.1%)
HSV (or HSB) 266.2°, 45.3, 33.7
Web Safe 333366 #333366
CIE-LAB 22.982, 16.923, -20.814
XYZ 4.81, 3.795, 9.283
xyY 0.269, 0.212, 3.795
CIE-LCH 22.982, 26.826, 309.113
CIE-LUV 22.982, 5.064, -26.014
Hunter-Lab 19.481, 9.986, -14.616
Binary 01000000, 00101111, 01010110

Color Schemes with #402f56

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

Alternatives to #402f56

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

Similar Colors

#402f56 Preview

Text with hexadecimal color #402f56

This text has a font color of #402f56.

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

This paragraph has a background color of #402f56.

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

This element has a border color of #402f56.

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

Shades and Tints of #402f56

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 #fdfcfd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402f56

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402f56 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
  • #393939 Achromatopsia 0.005% of the population
  • #3a373f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #324063 Protanopia 1% of men
  • #34405c Deuteranopia 1% of men
  • #443f44 Tritanopia 0.001% of the population
Trichromacy
  • #37395e Protanomaly 1% of men, 0.01% of women
  • #383a5a Deuteranomaly 6% of men, 0.4% of women
  • #42394a Tritanomaly 0.01% of the population