#402a3f Color Information

In a RGB color space, hex #402a3f is composed of 25.1% red, 16.5% green and 24.7% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 34.4% magenta, 1.6% yellow and 74.9% black. It has a hue angle of 302.7 degrees, a saturation of 20.8% and a lightness of 20.8%. #402a3f color hex could be obtained by blending #80547e with #000000. Closest websafe color is: #333333.

    • R 25
    • G 16
    • B 25
    RGB color chart
    • C 0
    • M 34
    • Y 2
    • K 75
    CMYK color chart

#402a3f color description : Very dark grayish magenta.

#402a3f Color Conversion

The hexadecimal color #402a3f has RGB values of R:64, G:42, B:63 and CMYK values of C:0, M:0.34, Y:0.02, K:0.75. Its decimal value is 4205119.

Hex triplet 402a3f #402a3f
RGB Decimal 64, 42, 63 rgb(64,42,63)
RGB Percent 25.1, 16.5, 24.7 rgb(25.1%,16.5%,24.7%)
CMYK 0, 34, 2, 75
HSL 302.7°, 20.8, 20.8 hsl(302.7,20.8%,20.8%)
HSV (or HSB) 302.7°, 34.4, 25.1
Web Safe 333333 #333333
CIE-LAB 20.459, 14.406, -9.231
XYZ 3.839, 3.105, 5.099
xyY 0.319, 0.258, 3.105
CIE-LCH 20.459, 17.11, 327.351
CIE-LUV 20.459, 9.541, -11.458
Hunter-Lab 17.621, 8.057, -4.824
Binary 01000000, 00101010, 00111111

Color Schemes with #402a3f

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

Alternatives to #402a3f

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

Similar Colors

#402a3f Preview

Text with hexadecimal color #402a3f

This text has a font color of #402a3f.

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

This paragraph has a background color of #402a3f.

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

This element has a border color of #402a3f.

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

Shades and Tints of #402a3f

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

Shade Color Variation
Tint Color Variation

Tones of #402a3f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402a3f 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
  • #333333 Achromatopsia 0.005% of the population
  • #363135 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #363b4c Protanopia 1% of men
  • #3b3a47 Deuteranopia 1% of men
  • #47373b Tritanopia 0.001% of the population
Trichromacy
  • #3a3547 Protanomaly 1% of men, 0.01% of women
  • #3d3444 Deuteranomaly 6% of men, 0.4% of women
  • #45323c Tritanomaly 0.01% of the population