#402142 Color Information
In a RGB color space, hex #402142 is composed of 25.1% red, 12.9% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 3% cyan, 50% magenta, 0% yellow and 74.1% black. It has a hue angle of 296.4 degrees, a saturation of 33.3% and a lightness of 19.4%. #402142 color hex could be obtained by blending #804284 with #000000. Closest websafe color is: #333333.
-
- R 25
- G 13
- B 26
-
- C 3
- M 50
- Y 0
- K 74
● #402142 color description : Very dark desaturated magenta.
#402142 Color Conversion
The hexadecimal color #402142 has RGB values of R:64, G:33, B:66 and CMYK values of C:0.03, M:0.5, Y:0, K:0.74. Its decimal value is 4202818.
Hex triplet | 402142 | #402142 |
---|---|---|
RGB Decimal | 64, 33, 66 | rgb(64,33,66) |
RGB Percent | 25.1, 12.9, 25.9 | rgb(25.1%,12.9%,25.9%) |
CMYK | 3, 50, 0, 74 | |
HSL | 296.4°, 33.3, 19.4 | hsl(296.4,33.3%,19.4%) |
HSV (or HSB) | 296.4°, 50, 25.9 | |
Web Safe | 333333 | #333333 |
CIE-LAB | 18.238, 20.982, -14.715 |
---|---|
XYZ | 3.641, 2.571, 5.458 |
xyY | 0.312, 0.22, 2.571 |
CIE-LCH | 18.238, 25.628, 324.958 |
CIE-LUV | 18.238, 12.042, -17.388 |
Hunter-Lab | 16.035, 12.476, -8.958 |
Binary | 01000000, 00100001, 01000010 |
Color Schemes with #402142
Alternatives to #402142
Below, you can see some colors close to #402142. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402142 Preview
This text has a font color of #402142.
<span style="color:#402142;">Text here</span>
This paragraph has a background color of #402142.
<p style="background-color:#402142;">Content here</p>
This element has a border color of #402142.
<div style="border:1px solid #402142;">Content here</div>
.text {color:#402142;}
.background {background-color:#402142;}
.border {border:1px solid #402142;}
Shades and Tints of #402142
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, #010001 is the darkest color, while #f8f3f9 is the lightest one.
-
#010001
#010001
rgb(1,0,1)
-
#0d070e
#0d070e
rgb(13,7,14)
-
#1a0d1b
#1a0d1b
rgb(26,13,27)
-
#271428
#271428
rgb(39,20,40)
-
#331a35
#331a35
rgb(51,26,53)
-
#402142
#402142
rgb(64,33,66)
-
#4d284f
#4d284f
rgb(77,40,79)
-
#592e5c
#592e5c
rgb(89,46,92)
-
#663569
#663569
rgb(102,53,105)
-
#733b76
#733b76
rgb(115,59,118)
-
#7f4283
#7f4283
rgb(127,66,131)
-
#8c4890
#8c4890
rgb(140,72,144)
-
#994f9e
#994f9e
rgb(153,79,158)
-
#a556aa
#a556aa
rgb(165,86,170)
-
#ac63b1
#ac63b1
rgb(172,99,177)
-
#b370b7
#b370b7
rgb(179,112,183)
-
#ba7dbe
#ba7dbe
rgb(186,125,190)
-
#c18ac4
#c18ac4
rgb(193,138,196)
-
#c897cb
#c897cb
rgb(200,151,203)
-
#cfa4d2
#cfa4d2
rgb(207,164,210)
-
#d6b1d8
#d6b1d8
rgb(214,177,216)
-
#ddbedf
#ddbedf
rgb(221,190,223)
-
#e4cbe5
#e4cbe5
rgb(228,203,229)
-
#ebd8ec
#ebd8ec
rgb(235,216,236)
-
#f1e5f2
#f1e5f2
rgb(241,229,242)
-
#f8f3f9
#f8f3f9
rgb(248,243,249)
Tones of #402142
A tone is produced by adding gray to any pure hue. In this case, #333033 is the less saturated color, while #5b0360 is the most saturated one.
-
#333033
#333033
rgb(51,48,51)
-
#362c37
#362c37
rgb(54,44,55)
-
#39293a
#39293a
rgb(57,41,58)
-
#3d253e
#3d253e
rgb(61,37,62)
-
#402142
#402142
rgb(64,33,66)
-
#431d46
#431d46
rgb(67,29,70)
-
#47194a
#47194a
rgb(71,25,74)
-
#4a164d
#4a164d
rgb(74,22,77)
-
#4d1251
#4d1251
rgb(77,18,81)
-
#510e55
#510e55
rgb(81,14,85)
-
#540a59
#540a59
rgb(84,10,89)
-
#57065d
#57065d
rgb(87,6,93)
-
#5b0360
#5b0360
rgb(91,3,96)
Color Blindness Simulator
Below, you can see how #402142 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.