#402145 Color Information

In a RGB color space, hex #402145 is composed of 25.1% red, 12.9% green and 27.1% blue. Whereas in a CMYK color space, it is composed of 7.2% cyan, 52.2% magenta, 0% yellow and 72.9% black. It has a hue angle of 291.7 degrees, a saturation of 35.3% and a lightness of 20%. #402145 color hex could be obtained by blending #80428a with #000000. Closest websafe color is: #333333.

    • R 25
    • G 13
    • B 27
    RGB color chart
    • C 7
    • M 52
    • Y 0
    • K 73
    CMYK color chart

#402145 color description : Very dark desaturated magenta.

#402145 Color Conversion

The hexadecimal color #402145 has RGB values of R:64, G:33, B:69 and CMYK values of C:0.07, M:0.52, Y:0, K:0.73. Its decimal value is 4202821.

Hex triplet 402145 #402145
RGB Decimal 64, 33, 69 rgb(64,33,69)
RGB Percent 25.1, 12.9, 27.1 rgb(25.1%,12.9%,27.1%)
CMYK 7, 52, 0, 73
HSL 291.7°, 35.3, 20 hsl(291.7,35.3%,20%)
HSV (or HSB) 291.7°, 52.2, 27.1
Web Safe 333333 #333333
CIE-LAB 18.398, 21.68, -16.532
XYZ 3.732, 2.608, 5.937
xyY 0.304, 0.212, 2.608
CIE-LCH 18.398, 27.264, 322.674
CIE-LUV 18.398, 11.55, -19.476
Hunter-Lab 16.148, 12.998, -10.494
Binary 01000000, 00100001, 01000101

Color Schemes with #402145

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

Alternatives to #402145

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

Similar Colors

#402145 Preview

Text with hexadecimal color #402145

This text has a font color of #402145.

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

This paragraph has a background color of #402145.

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

This element has a border color of #402145.

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

Shades and Tints of #402145

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

Shade Color Variation
Tint Color Variation

Tones of #402145

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402145 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
  • #2e2e2e Achromatopsia 0.005% of the population
  • #322b33 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #2a3656 Protanopia 1% of men
  • #30374b Deuteranopia 1% of men
  • #463236 Tritanopia 0.001% of the population
Trichromacy
  • #322e4f Protanomaly 1% of men, 0.01% of women
  • #362f49 Deuteranomaly 6% of men, 0.4% of women
  • #432c3b Tritanomaly 0.01% of the population