#402f54 Color Information

In a RGB color space, hex #402f54 is composed of 25.1% red, 18.4% green and 32.9% blue. Whereas in a CMYK color space, it is composed of 23.8% cyan, 44% magenta, 0% yellow and 67.1% black. It has a hue angle of 267.6 degrees, a saturation of 28.2% and a lightness of 25.7%. #402f54 color hex could be obtained by blending #805ea8 with #000000. Closest websafe color is: #333366.

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

#402f54 color description : Very dark desaturated violet.

#402f54 Color Conversion

The hexadecimal color #402f54 has RGB values of R:64, G:47, B:84 and CMYK values of C:0.24, M:0.44, Y:0, K:0.67. Its decimal value is 4206420.

Hex triplet 402f54 #402f54
RGB Decimal 64, 47, 84 rgb(64,47,84)
RGB Percent 25.1, 18.4, 32.9 rgb(25.1%,18.4%,32.9%)
CMYK 24, 44, 0, 67
HSL 267.6°, 28.2, 25.7 hsl(267.6,28.2%,25.7%)
HSV (or HSB) 267.6°, 44, 32.9
Web Safe 333366 #333366
CIE-LAB 22.872, 16.37, -19.659
XYZ 4.731, 3.763, 8.864
xyY 0.273, 0.217, 3.763
CIE-LCH 22.872, 25.582, 309.783
CIE-LUV 22.872, 5.281, -24.52
Hunter-Lab 19.399, 9.583, -13.513
Binary 01000000, 00101111, 01010100

Color Schemes with #402f54

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

Alternatives to #402f54

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

Similar Colors

#402f54 Preview

Text with hexadecimal color #402f54

This text has a font color of #402f54.

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

This paragraph has a background color of #402f54.

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

This element has a border color of #402f54.

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

Shades and Tints of #402f54

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

Shade Color Variation
Tint Color Variation

Tones of #402f54

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

Tone Color Variation

Color Blindness Simulator

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

  • #383838 Achromatopsia 0.005% of the population
  • #3a363e Atypical Achromatopsia 0.001% of the population
  • #333f61 Protanopia 1% of men
  • #36405a Deuteranopia 1% of men
  • #443f44 Tritanopia 0.001% of the population
  • #38395c Protanomaly 1% of men, 0.01% of women
  • #393a58 Deuteranomaly 6% of men, 0.4% of women
  • #433949 Tritanomaly 0.01% of the population