#402d40 Color Information
In a RGB color space, hex #402d40 is composed of 25.1% red, 17.6% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 29.7% magenta, 0% yellow and 74.9% black. It has a hue angle of 300 degrees, a saturation of 17.4% and a lightness of 21.4%. #402d40 color hex could be obtained by blending #805a80 with #000000. Closest websafe color is: #333333.
-
- R 25
- G 18
- B 25
-
- C 0
- M 30
- Y 0
- K 75
● #402d40 color description : Very dark grayish magenta.
#402d40 Color Conversion
The hexadecimal color #402d40 has RGB values of R:64, G:45, B:64 and CMYK values of C:0, M:0.3, Y:0, K:0.75. Its decimal value is 4205888.
| Hex triplet | 402d40 | #402d40 |
|---|---|---|
| RGB Decimal | 64, 45, 64 | rgb(64,45,64) |
| RGB Percent | 25.1, 17.6, 25.1 | rgb(25.1%,17.6%,25.1%) |
| CMYK | 0, 30, 0, 75 | |
| HSL | 300°, 17.4, 21.4 | hsl(300,17.4%,21.4%) |
| HSV (or HSB) | 300°, 29.7, 25.1 | |
| Web Safe | 333333 | #333333 |
| CIE-LAB | 21.346, 12.624, -8.565 |
|---|---|
| XYZ | 3.978, 3.337, 5.285 |
| xyY | 0.316, 0.265, 3.337 |
| CIE-LCH | 21.346, 15.256, 325.846 |
| CIE-LUV | 21.346, 8.281, -10.712 |
| Hunter-Lab | 18.268, 6.903, -4.365 |
| Binary | 01000000, 00101101, 01000000 |
Color Schemes with #402d40
Alternatives to #402d40
Below, you can see some colors close to #402d40. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402d40 Preview
This text has a font color of #402d40.
<span style="color:#402d40;">Text here</span>
This paragraph has a background color of #402d40.
<p style="background-color:#402d40;">Content here</p>
This element has a border color of #402d40.
<div style="border:1px solid #402d40;">Content here</div>
.text {color:#402d40;}
.background {background-color:#402d40;}
.border {border:1px solid #402d40;}
Shades and Tints of #402d40
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, #060506 is the darkest color, while #fbfafb is the lightest one.
-
#060506
#060506rgb(6,5,6) -
#120d12
#120d12rgb(18,13,18) -
#1d151d
#1d151drgb(29,21,29) -
#291d29
#291d29rgb(41,29,41) -
#342534
#342534rgb(52,37,52) -
#402d40
#402d40rgb(64,45,64) -
#4c354c
#4c354crgb(76,53,76) -
#573d57
#573d57rgb(87,61,87) -
#634563
#634563rgb(99,69,99) -
#6e4d6e
#6e4d6ergb(110,77,110) -
#7a557a
#7a557argb(122,85,122) -
#855e85
#855e85rgb(133,94,133) -
#916691
#916691rgb(145,102,145)
-
#9a709a
#9a709argb(154,112,154) -
#a27ba2
#a27ba2rgb(162,123,162) -
#aa87aa
#aa87aargb(170,135,170) -
#b392b3
#b392b3rgb(179,146,179) -
#bb9ebb
#bb9ebbrgb(187,158,187) -
#c3a9c3
#c3a9c3rgb(195,169,195) -
#cbb5cb
#cbb5cbrgb(203,181,203) -
#d3c0d3
#d3c0d3rgb(211,192,211) -
#dbccdb
#dbccdbrgb(219,204,219) -
#e3d7e3
#e3d7e3rgb(227,215,227) -
#ebe3eb
#ebe3ebrgb(235,227,235) -
#f3eef3
#f3eef3rgb(243,238,243) -
#fbfafb
#fbfafbrgb(251,250,251)
Tones of #402d40
A tone is produced by adding gray to any pure hue. In this case, #383538 is the less saturated color, while #6a036a is the most saturated one.
-
#383538
#383538rgb(56,53,56) -
#3c313c
#3c313crgb(60,49,60) -
#402d40
#402d40rgb(64,45,64) -
#442944
#442944rgb(68,41,68) -
#482548
#482548rgb(72,37,72) -
#4d204d
#4d204drgb(77,32,77) -
#511c51
#511c51rgb(81,28,81) -
#551855
#551855rgb(85,24,85) -
#591459
#591459rgb(89,20,89) -
#5d105d
#5d105drgb(93,16,93) -
#620b62
#620b62rgb(98,11,98) -
#660766
#660766rgb(102,7,102) -
#6a036a
#6a036argb(106,3,106)
Color Blindness Simulator
Below, you can see how #402d40 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.
