#402a52 Color Information

In a RGB color space, hex #402a52 is composed of 25.1% red, 16.5% green and 32.2% blue. Whereas in a CMYK color space, it is composed of 22% cyan, 48.8% magenta, 0% yellow and 67.8% black. It has a hue angle of 273 degrees, a saturation of 32.3% and a lightness of 24.3%. #402a52 color hex could be obtained by blending #8054a4 with #000000. Closest websafe color is: #333366.

    • R 25
    • G 16
    • B 32
    RGB color chart
    • C 22
    • M 49
    • Y 0
    • K 68
    CMYK color chart

#402a52 color description : Very dark desaturated violet.

#402a52 Color Conversion

The hexadecimal color #402a52 has RGB values of R:64, G:42, B:82 and CMYK values of C:0.22, M:0.49, Y:0, K:0.68. Its decimal value is 4205138.

Hex triplet 402a52 #402a52
RGB Decimal 64, 42, 82 rgb(64,42,82)
RGB Percent 25.1, 16.5, 32.2 rgb(25.1%,16.5%,32.2%)
CMYK 22, 49, 0, 68
HSL 273°, 32.3, 24.3 hsl(273,32.3%,24.3%)
HSV (or HSB) 273°, 48.8, 32.2
Web Safe 333366 #333366
CIE-LAB 21.414, 19.147, -20.616
XYZ 4.465, 3.355, 8.395
xyY 0.275, 0.207, 3.355
CIE-LCH 21.414, 28.136, 312.884
CIE-LUV 21.414, 7.093, -25.268
Hunter-Lab 18.317, 11.457, -14.35
Binary 01000000, 00101010, 01010010

Color Schemes with #402a52

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

Alternatives to #402a52

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

Similar Colors

#402a52 Preview

Text with hexadecimal color #402a52

This text has a font color of #402a52.

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

This paragraph has a background color of #402a52.

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

This element has a border color of #402a52.

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

Shades and Tints of #402a52

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

Shade Color Variation
Tint Color Variation

Tones of #402a52

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402a52 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
  • #353535 Achromatopsia 0.005% of the population
  • #37333b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #2e3c60 Protanopia 1% of men
  • #313d58 Deuteranopia 1% of men
  • #443b3f Tritanopia 0.001% of the population
Trichromacy
  • #34355b Protanomaly 1% of men, 0.01% of women
  • #373655 Deuteranomaly 6% of men, 0.4% of women
  • #423546 Tritanomaly 0.01% of the population