#402840 Color Information
In a RGB color space, hex #402840 is composed of 25.1% red, 15.7% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 37.5% magenta, 0% yellow and 74.9% black. It has a hue angle of 300 degrees, a saturation of 23.1% and a lightness of 20.4%. #402840 color hex could be obtained by blending #805080 with #000000. Closest websafe color is: #333333.
-
- R 25
- G 16
- B 25
-
- C 0
- M 38
- Y 0
- K 75
● #402840 color description : Very dark desaturated magenta.
#402840 Color Conversion
The hexadecimal color #402840 has RGB values of R:64, G:40, B:64 and CMYK values of C:0, M:0.38, Y:0, K:0.75. Its decimal value is 4204608.
Hex triplet | 402840 | #402840 |
---|---|---|
RGB Decimal | 64, 40, 64 | rgb(64,40,64) |
RGB Percent | 25.1, 15.7, 25.1 | rgb(25.1%,15.7%,25.1%) |
CMYK | 0, 38, 0, 75 | |
HSL | 300°, 23.1, 20.4 | hsl(300,23.1%,20.4%) |
HSV (or HSB) | 300°, 37.5, 25.1 | |
Web Safe | 333333 | #333333 |
CIE-LAB | 19.955, 15.968, -10.687 |
---|---|
XYZ | 3.798, 2.978, 5.225 |
xyY | 0.317, 0.248, 2.978 |
CIE-LCH | 19.955, 19.214, 326.207 |
CIE-LUV | 19.955, 10.128, -13.099 |
Hunter-Lab | 17.256, 9.092, -5.872 |
Binary | 01000000, 00101000, 01000000 |
Color Schemes with #402840
Alternatives to #402840
Below, you can see some colors close to #402840. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402840 Preview
This text has a font color of #402840.
<span style="color:#402840;">Text here</span>
This paragraph has a background color of #402840.
<p style="background-color:#402840;">Content here</p>
This element has a border color of #402840.
<div style="border:1px solid #402840;">Content here</div>
.text {color:#402840;}
.background {background-color:#402840;}
.border {border:1px solid #402840;}
Shades and Tints of #402840
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, #040204 is the darkest color, while #faf7fa is the lightest one.
-
#040204
#040204
rgb(4,2,4)
-
#100a10
#100a10
rgb(16,10,16)
-
#1c111c
#1c111c
rgb(28,17,28)
-
#281928
#281928
rgb(40,25,40)
-
#342034
#342034
rgb(52,32,52)
-
#402840
#402840
rgb(64,40,64)
-
#4c304c
#4c304c
rgb(76,48,76)
-
#583758
#583758
rgb(88,55,88)
-
#643f64
#643f64
rgb(100,63,100)
-
#704670
#704670
rgb(112,70,112)
-
#7c4e7c
#7c4e7c
rgb(124,78,124)
-
#885588
#885588
rgb(136,85,136)
-
#945d94
#945d94
rgb(148,93,148)
-
#9f669f
#9f669f
rgb(159,102,159)
-
#a772a7
#a772a7
rgb(167,114,167)
-
#ae7eae
#ae7eae
rgb(174,126,174)
-
#b68ab6
#b68ab6
rgb(182,138,182)
-
#bd96bd
#bd96bd
rgb(189,150,189)
-
#c5a2c5
#c5a2c5
rgb(197,162,197)
-
#ccaecc
#ccaecc
rgb(204,174,204)
-
#d4bad4
#d4bad4
rgb(212,186,212)
-
#dcc6dc
#dcc6dc
rgb(220,198,220)
-
#e3d2e3
#e3d2e3
rgb(227,210,227)
-
#ebdeeb
#ebdeeb
rgb(235,222,235)
-
#f2ebf2
#f2ebf2
rgb(242,235,242)
-
#faf7fa
#faf7fa
rgb(250,247,250)
Tones of #402840
A tone is produced by adding gray to any pure hue. In this case, #383038 is the less saturated color, while #680068 is the most saturated one.
-
#383038
#383038
rgb(56,48,56)
-
#3c2c3c
#3c2c3c
rgb(60,44,60)
-
#402840
#402840
rgb(64,40,64)
-
#442444
#442444
rgb(68,36,68)
-
#482048
#482048
rgb(72,32,72)
-
#4c1c4c
#4c1c4c
rgb(76,28,76)
-
#501850
#501850
rgb(80,24,80)
-
#541454
#541454
rgb(84,20,84)
-
#581058
#581058
rgb(88,16,88)
-
#5c0c5c
#5c0c5c
rgb(92,12,92)
-
#600860
#600860
rgb(96,8,96)
-
#640464
#640464
rgb(100,4,100)
-
#680068
#680068
rgb(104,0,104)
Color Blindness Simulator
Below, you can see how #402840 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.