#402842 Color Information
In a RGB color space, hex #402842 is composed of 25.1% red, 15.7% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 3% cyan, 39.4% magenta, 0% yellow and 74.1% black. It has a hue angle of 295.4 degrees, a saturation of 24.5% and a lightness of 20.8%. #402842 color hex could be obtained by blending #805084 with #000000. Closest websafe color is: #333333.
-
- R 25
- G 16
- B 26
-
- C 3
- M 39
- Y 0
- K 74
● #402842 color description : Very dark desaturated magenta.
#402842 Color Conversion
The hexadecimal color #402842 has RGB values of R:64, G:40, B:66 and CMYK values of C:0.03, M:0.39, Y:0, K:0.74. Its decimal value is 4204610.
Hex triplet | 402842 | #402842 |
---|---|---|
RGB Decimal | 64, 40, 66 | rgb(64,40,66) |
RGB Percent | 25.1, 15.7, 25.9 | rgb(25.1%,15.7%,25.9%) |
CMYK | 3, 39, 0, 74 | |
HSL | 295.4°, 24.5, 20.8 | hsl(295.4,24.5%,20.8%) |
HSV (or HSB) | 295.4°, 39.4, 25.9 | |
Web Safe | 333333 | #333333 |
CIE-LAB | 20.048, 16.431, -11.914 |
---|---|
XYZ | 3.856, 3.001, 5.53 |
xyY | 0.311, 0.242, 3.001 |
CIE-LCH | 20.048, 20.296, 324.054 |
CIE-LUV | 20.048, 9.852, -14.528 |
Hunter-Lab | 17.324, 9.42, -6.8 |
Binary | 01000000, 00101000, 01000010 |
Color Schemes with #402842
Alternatives to #402842
Below, you can see some colors close to #402842. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402842 Preview
This text has a font color of #402842.
<span style="color:#402842;">Text here</span>
This paragraph has a background color of #402842.
<p style="background-color:#402842;">Content here</p>
This element has a border color of #402842.
<div style="border:1px solid #402842;">Content here</div>
.text {color:#402842;}
.background {background-color:#402842;}
.border {border:1px solid #402842;}
Shades and Tints of #402842
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, #050305 is the darkest color, while #faf8fb is the lightest one.
-
#050305
#050305
rgb(5,3,5)
-
#110a11
#110a11
rgb(17,10,17)
-
#1c121d
#1c121d
rgb(28,18,29)
-
#28192a
#28192a
rgb(40,25,42)
-
#342136
#342136
rgb(52,33,54)
-
#402842
#402842
rgb(64,40,66)
-
#4c2f4e
#4c2f4e
rgb(76,47,78)
-
#58375a
#58375a
rgb(88,55,90)
-
#643e67
#643e67
rgb(100,62,103)
-
#6f4673
#6f4673
rgb(111,70,115)
-
#7b4d7f
#7b4d7f
rgb(123,77,127)
-
#87548b
#87548b
rgb(135,84,139)
-
#935c97
#935c97
rgb(147,92,151)
-
#9d65a2
#9d65a2
rgb(157,101,162)
-
#a571a9
#a571a9
rgb(165,113,169)
-
#ad7eb1
#ad7eb1
rgb(173,126,177)
-
#b48ab8
#b48ab8
rgb(180,138,184)
-
#bc96bf
#bc96bf
rgb(188,150,191)
-
#c4a2c7
#c4a2c7
rgb(196,162,199)
-
#ccaece
#ccaece
rgb(204,174,206)
-
#d4bbd6
#d4bbd6
rgb(212,187,214)
-
#dbc7dd
#dbc7dd
rgb(219,199,221)
-
#e3d3e4
#e3d3e4
rgb(227,211,228)
-
#ebdfec
#ebdfec
rgb(235,223,236)
-
#f3ecf3
#f3ecf3
rgb(243,236,243)
-
#faf8fb
#faf8fb
rgb(250,248,251)
Tones of #402842
A tone is produced by adding gray to any pure hue. In this case, #363436 is the less saturated color, while #5f0367 is the most saturated one.
-
#363436
#363436
rgb(54,52,54)
-
#39303a
#39303a
rgb(57,48,58)
-
#3d2c3e
#3d2c3e
rgb(61,44,62)
-
#402842
#402842
rgb(64,40,66)
-
#432446
#432446
rgb(67,36,70)
-
#47204a
#47204a
rgb(71,32,74)
-
#4a1c4e
#4a1c4e
rgb(74,28,78)
-
#4e1852
#4e1852
rgb(78,24,82)
-
#511456
#511456
rgb(81,20,86)
-
#55105a
#55105a
rgb(85,16,90)
-
#580b5f
#580b5f
rgb(88,11,95)
-
#5c0763
#5c0763
rgb(92,7,99)
-
#5f0367
#5f0367
rgb(95,3,103)
Color Blindness Simulator
Below, you can see how #402842 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.