#402d42 Color Information
In a RGB color space, hex #402d42 is composed of 25.1% red, 17.6% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 3% cyan, 31.8% magenta, 0% yellow and 74.1% black. It has a hue angle of 294.3 degrees, a saturation of 18.9% and a lightness of 21.8%. #402d42 color hex could be obtained by blending #805a84 with #000000. Closest websafe color is: #333333.
-
- R 25
- G 18
- B 26
-
- C 3
- M 32
- Y 0
- K 74
● #402d42 color description : Very dark grayish magenta.
#402d42 Color Conversion
The hexadecimal color #402d42 has RGB values of R:64, G:45, B:66 and CMYK values of C:0.03, M:0.32, Y:0, K:0.74. Its decimal value is 4205890.
Hex triplet | 402d42 | #402d42 |
---|---|---|
RGB Decimal | 64, 45, 66 | rgb(64,45,66) |
RGB Percent | 25.1, 17.6, 25.9 | rgb(25.1%,17.6%,25.9%) |
CMYK | 3, 32, 0, 74 | |
HSL | 294.3°, 18.9, 21.8 | hsl(294.3,18.9%,21.8%) |
HSV (or HSB) | 294.3°, 31.8, 25.9 | |
Web Safe | 333333 | #333333 |
CIE-LAB | 21.432, 13.091, -9.794 |
---|---|
XYZ | 4.036, 3.36, 5.59 |
xyY | 0.311, 0.259, 3.36 |
CIE-LCH | 21.432, 16.35, 323.199 |
CIE-LUV | 21.432, 8.044, -12.16 |
Hunter-Lab | 18.331, 7.222, -5.249 |
Binary | 01000000, 00101101, 01000010 |
Color Schemes with #402d42
Alternatives to #402d42
Below, you can see some colors close to #402d42. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402d42 Preview
This text has a font color of #402d42.
<span style="color:#402d42;">Text here</span>
This paragraph has a background color of #402d42.
<p style="background-color:#402d42;">Content here</p>
This element has a border color of #402d42.
<div style="border:1px solid #402d42;">Content here</div>
.text {color:#402d42;}
.background {background-color:#402d42;}
.border {border:1px solid #402d42;}
Shades and Tints of #402d42
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, #070508 is the darkest color, while #fcfbfc is the lightest one.
-
#070508
#070508
rgb(7,5,8)
-
#130d13
#130d13
rgb(19,13,19)
-
#1e151f
#1e151f
rgb(30,21,31)
-
#291d2b
#291d2b
rgb(41,29,43)
-
#352536
#352536
rgb(53,37,54)
-
#402d42
#402d42
rgb(64,45,66)
-
#4b354e
#4b354e
rgb(75,53,78)
-
#573d59
#573d59
rgb(87,61,89)
-
#624565
#624565
rgb(98,69,101)
-
#6d4d71
#6d4d71
rgb(109,77,113)
-
#79557c
#79557c
rgb(121,85,124)
-
#845d88
#845d88
rgb(132,93,136)
-
#8f6594
#8f6594
rgb(143,101,148)
-
#986f9d
#986f9d
rgb(152,111,157)
-
#a17ba5
#a17ba5
rgb(161,123,165)
-
#a986ad
#a986ad
rgb(169,134,173)
-
#b192b5
#b192b5
rgb(177,146,181)
-
#ba9ebd
#ba9ebd
rgb(186,158,189)
-
#c2a9c5
#c2a9c5
rgb(194,169,197)
-
#cab5cd
#cab5cd
rgb(202,181,205)
-
#d3c1d5
#d3c1d5
rgb(211,193,213)
-
#dbccdc
#dbccdc
rgb(219,204,220)
-
#e3d8e4
#e3d8e4
rgb(227,216,228)
-
#ece4ec
#ece4ec
rgb(236,228,236)
-
#f4eff4
#f4eff4
rgb(244,239,244)
-
#fcfbfc
#fcfbfc
rgb(252,251,252)
Tones of #402d42
A tone is produced by adding gray to any pure hue. In this case, #393639 is the less saturated color, while #63026d is the most saturated one.
-
#393639
#393639
rgb(57,54,57)
-
#3d313e
#3d313e
rgb(61,49,62)
-
#402d42
#402d42
rgb(64,45,66)
-
#432946
#432946
rgb(67,41,70)
-
#47244b
#47244b
rgb(71,36,75)
-
#4a204f
#4a204f
rgb(74,32,79)
-
#4e1c53
#4e1c53
rgb(78,28,83)
-
#511857
#511857
rgb(81,24,87)
-
#55135c
#55135c
rgb(85,19,92)
-
#580f60
#580f60
rgb(88,15,96)
-
#5c0b64
#5c0b64
rgb(92,11,100)
-
#5f0768
#5f0768
rgb(95,7,104)
-
#63026d
#63026d
rgb(99,2,109)
Color Blindness Simulator
Below, you can see how #402d42 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.