#402542 Color Information
In a RGB color space, hex #402542 is composed of 25.1% red, 14.5% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 3% cyan, 43.9% magenta, 0% yellow and 74.1% black. It has a hue angle of 295.9 degrees, a saturation of 28.2% and a lightness of 20.2%. #402542 color hex could be obtained by blending #804a84 with #000000. Closest websafe color is: #333333.
-
- R 25
- G 15
- B 26
-
- C 3
- M 44
- Y 0
- K 74
● #402542 color description : Very dark desaturated magenta.
#402542 Color Conversion
The hexadecimal color #402542 has RGB values of R:64, G:37, B:66 and CMYK values of C:0.03, M:0.44, Y:0, K:0.74. Its decimal value is 4203842.
Hex triplet | 402542 | #402542 |
---|---|---|
RGB Decimal | 64, 37, 66 | rgb(64,37,66) |
RGB Percent | 25.1, 14.5, 25.9 | rgb(25.1%,14.5%,25.9%) |
CMYK | 3, 44, 0, 74 | |
HSL | 295.9°, 28.2, 20.2 | hsl(295.9,28.2%,20.2%) |
HSV (or HSB) | 295.9°, 43.9, 25.9 | |
Web Safe | 333333 | #333333 |
CIE-LAB | 19.252, 18.406, -13.142 |
---|---|
XYZ | 3.759, 2.807, 5.498 |
xyY | 0.312, 0.233, 2.807 |
CIE-LCH | 19.252, 22.616, 324.474 |
CIE-LUV | 19.252, 10.842, -15.823 |
Hunter-Lab | 16.753, 10.736, -7.73 |
Binary | 01000000, 00100101, 01000010 |
Color Schemes with #402542
Alternatives to #402542
Below, you can see some colors close to #402542. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402542 Preview
This text has a font color of #402542.
<span style="color:#402542;">Text here</span>
This paragraph has a background color of #402542.
<p style="background-color:#402542;">Content here</p>
This element has a border color of #402542.
<div style="border:1px solid #402542;">Content here</div>
.text {color:#402542;}
.background {background-color:#402542;}
.border {border:1px solid #402542;}
Shades and Tints of #402542
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, #030203 is the darkest color, while #f9f6fa is the lightest one.
-
#030203
#030203
rgb(3,2,3)
-
#0f0910
#0f0910
rgb(15,9,16)
-
#1b101c
#1b101c
rgb(27,16,28)
-
#281729
#281729
rgb(40,23,41)
-
#341e35
#341e35
rgb(52,30,53)
-
#402542
#402542
rgb(64,37,66)
-
#4c2c4f
#4c2c4f
rgb(76,44,79)
-
#58335b
#58335b
rgb(88,51,91)
-
#653a68
#653a68
rgb(101,58,104)
-
#714174
#714174
rgb(113,65,116)
-
#7d4881
#7d4881
rgb(125,72,129)
-
#894f8d
#894f8d
rgb(137,79,141)
-
#95569a
#95569a
rgb(149,86,154)
-
#a05fa5
#a05fa5
rgb(160,95,165)
-
#a86bac
#a86bac
rgb(168,107,172)
-
#af78b3
#af78b3
rgb(175,120,179)
-
#b784ba
#b784ba
rgb(183,132,186)
-
#be91c1
#be91c1
rgb(190,145,193)
-
#c59ec8
#c59ec8
rgb(197,158,200)
-
#cdaacf
#cdaacf
rgb(205,170,207)
-
#d4b7d6
#d4b7d6
rgb(212,183,214)
-
#dcc3de
#dcc3de
rgb(220,195,222)
-
#e3d0e5
#e3d0e5
rgb(227,208,229)
-
#ebdcec
#ebdcec
rgb(235,220,236)
-
#f2e9f3
#f2e9f3
rgb(242,233,243)
-
#f9f6fa
#f9f6fa
rgb(249,246,250)
Tones of #402542
A tone is produced by adding gray to any pure hue. In this case, #363136 is the less saturated color, while #5f0166 is the most saturated one.
-
#363136
#363136
rgb(54,49,54)
-
#392d3a
#392d3a
rgb(57,45,58)
-
#3d293e
#3d293e
rgb(61,41,62)
-
#402542
#402542
rgb(64,37,66)
-
#432146
#432146
rgb(67,33,70)
-
#471d4a
#471d4a
rgb(71,29,74)
-
#4a194e
#4a194e
rgb(74,25,78)
-
#4e1552
#4e1552
rgb(78,21,82)
-
#511156
#511156
rgb(81,17,86)
-
#540d5a
#540d5a
rgb(84,13,90)
-
#58095e
#58095e
rgb(88,9,94)
-
#5b0562
#5b0562
rgb(91,5,98)
-
#5f0166
#5f0166
rgb(95,1,102)
Color Blindness Simulator
Below, you can see how #402542 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.