#402742 Color Information
In a RGB color space, hex #402742 is composed of 25.1% red, 15.3% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 3% cyan, 40.9% magenta, 0% yellow and 74.1% black. It has a hue angle of 295.6 degrees, a saturation of 25.7% and a lightness of 20.6%. #402742 color hex could be obtained by blending #804e84 with #000000. Closest websafe color is: #333333.
-
- R 25
- G 15
- B 26
-
- C 3
- M 41
- Y 0
- K 74
● #402742 color description : Very dark desaturated magenta.
#402742 Color Conversion
The hexadecimal color #402742 has RGB values of R:64, G:39, B:66 and CMYK values of C:0.03, M:0.41, Y:0, K:0.74. Its decimal value is 4204354.
Hex triplet | 402742 | #402742 |
---|---|---|
RGB Decimal | 64, 39, 66 | rgb(64,39,66) |
RGB Percent | 25.1, 15.3, 25.9 | rgb(25.1%,15.3%,25.9%) |
CMYK | 3, 41, 0, 74 | |
HSL | 295.6°, 25.7, 20.6 | hsl(295.6,25.7%,20.6%) |
HSV (or HSB) | 295.6°, 40.9, 25.9 | |
Web Safe | 333333 | #333333 |
CIE-LAB | 19.78, 17.093, -12.328 |
---|---|
XYZ | 3.823, 2.934, 5.519 |
xyY | 0.311, 0.239, 2.934 |
CIE-LCH | 19.78, 21.075, 324.2 |
CIE-LUV | 19.78, 10.19, -14.97 |
Hunter-Lab | 17.13, 9.859, -7.111 |
Binary | 01000000, 00100111, 01000010 |
Color Schemes with #402742
Alternatives to #402742
Below, you can see some colors close to #402742. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402742 Preview
This text has a font color of #402742.
<span style="color:#402742;">Text here</span>
This paragraph has a background color of #402742.
<p style="background-color:#402742;">Content here</p>
This element has a border color of #402742.
<div style="border:1px solid #402742;">Content here</div>
.text {color:#402742;}
.background {background-color:#402742;}
.border {border:1px solid #402742;}
Shades and Tints of #402742
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, #040304 is the darkest color, while #faf7fa is the lightest one.
-
#040304
#040304
rgb(4,3,4)
-
#100a11
#100a11
rgb(16,10,17)
-
#1c111d
#1c111d
rgb(28,17,29)
-
#281829
#281829
rgb(40,24,41)
-
#342036
#342036
rgb(52,32,54)
-
#402742
#402742
rgb(64,39,66)
-
#4c2e4e
#4c2e4e
rgb(76,46,78)
-
#58365b
#58365b
rgb(88,54,91)
-
#643d67
#643d67
rgb(100,61,103)
-
#704473
#704473
rgb(112,68,115)
-
#7c4b80
#7c4b80
rgb(124,75,128)
-
#88538c
#88538c
rgb(136,83,140)
-
#945a98
#945a98
rgb(148,90,152)
-
#9e63a3
#9e63a3
rgb(158,99,163)
-
#a66faa
#a66faa
rgb(166,111,170)
-
#ad7cb1
#ad7cb1
rgb(173,124,177)
-
#b588b9
#b588b9
rgb(181,136,185)
-
#bd94c0
#bd94c0
rgb(189,148,192)
-
#c4a1c7
#c4a1c7
rgb(196,161,199)
-
#ccadcf
#ccadcf
rgb(204,173,207)
-
#d4b9d6
#d4b9d6
rgb(212,185,214)
-
#dbc6dd
#dbc6dd
rgb(219,198,221)
-
#e3d2e4
#e3d2e4
rgb(227,210,228)
-
#ebdeec
#ebdeec
rgb(235,222,236)
-
#f2ebf3
#f2ebf3
rgb(242,235,243)
-
#faf7fa
#faf7fa
rgb(250,247,250)
Tones of #402742
A tone is produced by adding gray to any pure hue. In this case, #363336 is the less saturated color, while #5f0366 is the most saturated one.
-
#363336
#363336
rgb(54,51,54)
-
#392f3a
#392f3a
rgb(57,47,58)
-
#3d2b3e
#3d2b3e
rgb(61,43,62)
-
#402742
#402742
rgb(64,39,66)
-
#432346
#432346
rgb(67,35,70)
-
#471f4a
#471f4a
rgb(71,31,74)
-
#4a1b4e
#4a1b4e
rgb(74,27,78)
-
#4e1752
#4e1752
rgb(78,23,82)
-
#511356
#511356
rgb(81,19,86)
-
#550f5a
#550f5a
rgb(85,15,90)
-
#580b5e
#580b5e
rgb(88,11,94)
-
#5c0762
#5c0762
rgb(92,7,98)
-
#5f0366
#5f0366
rgb(95,3,102)
Color Blindness Simulator
Below, you can see how #402742 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.