#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
#010001rgb(1,0,1) -
#0d070e
#0d070ergb(13,7,14) -
#1a0d1b
#1a0d1brgb(26,13,27) -
#271428
#271428rgb(39,20,40) -
#331a35
#331a35rgb(51,26,53) -
#402142
#402142rgb(64,33,66) -
#4d284f
#4d284frgb(77,40,79) -
#592e5c
#592e5crgb(89,46,92) -
#663569
#663569rgb(102,53,105) -
#733b76
#733b76rgb(115,59,118) -
#7f4283
#7f4283rgb(127,66,131) -
#8c4890
#8c4890rgb(140,72,144) -
#994f9e
#994f9ergb(153,79,158)
-
#a556aa
#a556aargb(165,86,170) -
#ac63b1
#ac63b1rgb(172,99,177) -
#b370b7
#b370b7rgb(179,112,183) -
#ba7dbe
#ba7dbergb(186,125,190) -
#c18ac4
#c18ac4rgb(193,138,196) -
#c897cb
#c897cbrgb(200,151,203) -
#cfa4d2
#cfa4d2rgb(207,164,210) -
#d6b1d8
#d6b1d8rgb(214,177,216) -
#ddbedf
#ddbedfrgb(221,190,223) -
#e4cbe5
#e4cbe5rgb(228,203,229) -
#ebd8ec
#ebd8ecrgb(235,216,236) -
#f1e5f2
#f1e5f2rgb(241,229,242) -
#f8f3f9
#f8f3f9rgb(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
#333033rgb(51,48,51) -
#362c37
#362c37rgb(54,44,55) -
#39293a
#39293argb(57,41,58) -
#3d253e
#3d253ergb(61,37,62) -
#402142
#402142rgb(64,33,66) -
#431d46
#431d46rgb(67,29,70) -
#47194a
#47194argb(71,25,74) -
#4a164d
#4a164drgb(74,22,77) -
#4d1251
#4d1251rgb(77,18,81) -
#510e55
#510e55rgb(81,14,85) -
#540a59
#540a59rgb(84,10,89) -
#57065d
#57065drgb(87,6,93) -
#5b0360
#5b0360rgb(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.
