#402042 Color Information
In a RGB color space, hex #402042 is composed of 25.1% red, 12.5% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 3% cyan, 51.5% magenta, 0% yellow and 74.1% black. It has a hue angle of 296.5 degrees, a saturation of 34.7% and a lightness of 19.2%. #402042 color hex could be obtained by blending #804084 with #000000. Closest websafe color is: #333333.
-
- R 25
- G 13
- B 26
-
- C 3
- M 52
- Y 0
- K 74
● #402042 color description : Very dark desaturated magenta.
#402042 Color Conversion
The hexadecimal color #402042 has RGB values of R:64, G:32, B:66 and CMYK values of C:0.03, M:0.52, Y:0, K:0.74. Its decimal value is 4202562.
| Hex triplet | 402042 | #402042 |
|---|---|---|
| RGB Decimal | 64, 32, 66 | rgb(64,32,66) |
| RGB Percent | 25.1, 12.5, 25.9 | rgb(25.1%,12.5%,25.9%) |
| CMYK | 3, 52, 0, 74 | |
| HSL | 296.5°, 34.7, 19.2 | hsl(296.5,34.7%,19.2%) |
| HSV (or HSB) | 296.5°, 51.5, 25.9 | |
| Web Safe | 333333 | #333333 |
| CIE-LAB | 17.993, 21.613, -15.095 |
|---|---|
| XYZ | 3.614, 2.517, 5.449 |
| xyY | 0.312, 0.217, 2.517 |
| CIE-LCH | 17.993, 26.363, 325.069 |
| CIE-LUV | 17.993, 12.319, -17.749 |
| Hunter-Lab | 15.864, 12.906, -9.262 |
| Binary | 01000000, 00100000, 01000010 |
Color Schemes with #402042
Alternatives to #402042
Below, you can see some colors close to #402042. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402042 Preview
This text has a font color of #402042.
<span style="color:#402042;">Text here</span>
This paragraph has a background color of #402042.
<p style="background-color:#402042;">Content here</p>
This element has a border color of #402042.
<div style="border:1px solid #402042;">Content here</div>
.text {color:#402042;}
.background {background-color:#402042;}
.border {border:1px solid #402042;}
Shades and Tints of #402042
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, #0d060d is the darkest color, while #ffffff is the lightest one.
-
#0d060d
#0d060drgb(13,6,13) -
#1a0d1a
#1a0d1argb(26,13,26) -
#261328
#261328rgb(38,19,40) -
#331a35
#331a35rgb(51,26,53) -
#402042
#402042rgb(64,32,66) -
#4d264f
#4d264frgb(77,38,79) -
#5a2d5c
#5a2d5crgb(90,45,92) -
#66336a
#66336argb(102,51,106) -
#733a77
#733a77rgb(115,58,119) -
#804084
#804084rgb(128,64,132) -
#8d4691
#8d4691rgb(141,70,145) -
#9a4d9e
#9a4d9ergb(154,77,158) -
#a653ac
#a653acrgb(166,83,172)
-
#ad60b2
#ad60b2rgb(173,96,178) -
#b46eb9
#b46eb9rgb(180,110,185) -
#bb7bbf
#bb7bbfrgb(187,123,191) -
#c288c5
#c288c5rgb(194,136,197) -
#c995cc
#c995ccrgb(201,149,204) -
#cfa2d2
#cfa2d2rgb(207,162,210) -
#d6b0d9
#d6b0d9rgb(214,176,217) -
#ddbddf
#ddbddfrgb(221,189,223) -
#e4cae5
#e4cae5rgb(228,202,229) -
#ebd7ec
#ebd7ecrgb(235,215,236) -
#f1e5f2
#f1e5f2rgb(241,229,242) -
#f8f2f9
#f8f2f9rgb(248,242,249) -
#ffffff
#ffffffrgb(255,255,255)
Tones of #402042
A tone is produced by adding gray to any pure hue. In this case, #332f33 is the less saturated color, while #5b0260 is the most saturated one.
-
#332f33
#332f33rgb(51,47,51) -
#362b37
#362b37rgb(54,43,55) -
#39283a
#39283argb(57,40,58) -
#3d243e
#3d243ergb(61,36,62) -
#402042
#402042rgb(64,32,66) -
#431c46
#431c46rgb(67,28,70) -
#47184a
#47184argb(71,24,74) -
#4a154d
#4a154drgb(74,21,77) -
#4d1151
#4d1151rgb(77,17,81) -
#510d55
#510d55rgb(81,13,85) -
#540959
#540959rgb(84,9,89) -
#57065c
#57065crgb(87,6,92) -
#5b0260
#5b0260rgb(91,2,96)
Color Blindness Simulator
Below, you can see how #402042 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.
