#402b54 Color Information

In a RGB color space, hex #402b54 is composed of 25.1% red, 16.9% green and 32.9% blue. Whereas in a CMYK color space, it is composed of 23.8% cyan, 48.8% magenta, 0% yellow and 67.1% black. It has a hue angle of 270.7 degrees, a saturation of 32.3% and a lightness of 24.9%. #402b54 color hex could be obtained by blending #8056a8 with #000000. Closest websafe color is: #333366.

    • R 25
    • G 17
    • B 33
    RGB color chart
    • C 24
    • M 49
    • Y 0
    • K 67
    CMYK color chart

#402b54 color description : Very dark desaturated violet.

#402b54 Color Conversion

The hexadecimal color #402b54 has RGB values of R:64, G:43, B:84 and CMYK values of C:0.24, M:0.49, Y:0, K:0.67. Its decimal value is 4205396.

Hex triplet 402b54 #402b54
RGB Decimal 64, 43, 84 rgb(64,43,84)
RGB Percent 25.1, 16.9, 32.9 rgb(25.1%,16.9%,32.9%)
CMYK 24, 49, 0, 67
HSL 270.7°, 32.3, 24.9 hsl(270.7,32.3%,24.9%)
HSV (or HSB) 270.7°, 48.8, 32.9
Web Safe 333366 #333366
CIE-LAB 21.792, 19.029, -21.357
XYZ 4.578, 3.458, 8.813
xyY 0.272, 0.205, 3.458
CIE-LCH 21.792, 28.604, 311.701
CIE-LUV 21.792, 6.544, -26.309
Hunter-Lab 18.595, 11.405, -15.084
Binary 01000000, 00101011, 01010100

Color Schemes with #402b54

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

Alternatives to #402b54

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

Similar Colors

#402b54 Preview

Text with hexadecimal color #402b54

This text has a font color of #402b54.

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

This paragraph has a background color of #402b54.

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

This element has a border color of #402b54.

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

Shades and Tints of #402b54

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

Shade Color Variation
Tint Color Variation

Tones of #402b54

A tone is produced by adding gray to any pure hue. In this case, #403f40 is the less saturated color, while #41047b is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402b54 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.

  • #363636 Achromatopsia 0.005% of the population
  • #38343c Atypical Achromatopsia 0.001% of the population
  • #2e3d62 Protanopia 1% of men
  • #313e5a Deuteranopia 1% of men
  • #443c41 Tritanopia 0.001% of the population
  • #34365d Protanomaly 1% of men, 0.01% of women
  • #363757 Deuteranomaly 6% of men, 0.4% of women
  • #423647 Tritanomaly 0.01% of the population