#402f52 Color Information

In a RGB color space, hex #402f52 is composed of 25.1% red, 18.4% green and 32.2% blue. Whereas in a CMYK color space, it is composed of 22% cyan, 42.7% magenta, 0% yellow and 67.8% black. It has a hue angle of 269.1 degrees, a saturation of 27.1% and a lightness of 25.3%. #402f52 color hex could be obtained by blending #805ea4 with #000000. Closest websafe color is: #333366.

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

#402f52 color description : Very dark desaturated violet.

#402f52 Color Conversion

The hexadecimal color #402f52 has RGB values of R:64, G:47, B:82 and CMYK values of C:0.22, M:0.43, Y:0, K:0.68. Its decimal value is 4206418.

Hex triplet 402f52 #402f52
RGB Decimal 64, 47, 82 rgb(64,47,82)
RGB Percent 25.1, 18.4, 32.2 rgb(25.1%,18.4%,32.2%)
CMYK 22, 43, 0, 68
HSL 269.1°, 27.1, 25.3 hsl(269.1,27.1%,25.3%)
HSV (or HSB) 269.1°, 42.7, 32.2
Web Safe 333366 #333366
CIE-LAB 22.766, 15.823, -18.497
XYZ 4.654, 3.732, 8.457
xyY 0.276, 0.222, 3.732
CIE-LCH 22.766, 24.341, 310.546
CIE-LUV 22.766, 5.5, -23.024
Hunter-Lab 19.319, 9.189, -12.432
Binary 01000000, 00101111, 01010010

Color Schemes with #402f52

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

Alternatives to #402f52

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

Similar Colors

#402f52 Preview

Text with hexadecimal color #402f52

This text has a font color of #402f52.

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

This paragraph has a background color of #402f52.

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

This element has a border color of #402f52.

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

Shades and Tints of #402f52

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

Shade Color Variation
Tint Color Variation

Tones of #402f52

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402f52 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
  • #383838 Achromatopsia 0.005% of the population
  • #3a363d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #343f5f Protanopia 1% of men
  • #374058 Deuteranopia 1% of men
  • #453f43 Tritanopia 0.001% of the population
Trichromacy
  • #38395a Protanomaly 1% of men, 0.01% of women
  • #3a3956 Deuteranomaly 6% of men, 0.4% of women
  • #433948 Tritanomaly 0.01% of the population