#402870 hex color
In a RGB color space, hex #402870 is composed of 25.1% red, 15.7% green and 43.9% blue. Whereas in a CMYK color space, it is composed of 42.9% cyan, 64.3% magenta, 0% yellow and 56.1% black. It has a hue angle of 260 degrees, a saturation of 47.4% and a lightness of 29.8%. #402870 color hex could be obtained by blending #8050e0 with #000000. Closest websafe color is: #333366.
-
- R 25
- G 16
- B 44
RGB color chart
-
- C 43
- M 64
- Y 0
- K 56
CMYK color chart
● #402870 color description : Very dark violet.
The hexadecimal color #402870 has RGB values of R:64, G:40, B:112 and CMYK values of C:0.43, M:0.64, Y:0, K:0.56. Its decimal value is 4204656.
Hex triplet | 402870 | #402870 |
---|---|---|
RGB Decimal | 64, 40, 112 | rgb(64,40,112) |
RGB Percent | 25.1, 15.7, 43.9 | rgb(25.1%,15.7%,43.9%) |
CMYK | 43, 64, 0, 56 | |
HSL | 260°, 47.4, 29.8 | hsl(260,47.4%,29.8%) |
HSV (or HSB) | 260°, 64.3, 43.9 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 22.921, 29.053, -37.886 |
---|---|
XYZ | 5.797, 3.777, 15.752 |
xyY | 0.229, 0.149, 3.777 |
CIE-LCH | 22.921, 47.744, 307.483 |
CIE-LUV | 22.921, 4.028, -47.221 |
Hunter-Lab | 19.436, 19.231, -34.448 |
Binary | 01000000, 00101000, 01110000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #402870. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402870
This text has a font color of #402870.
<span style="color:#402870;">Text here</span>
#402870 background color
This paragraph has a background color of #402870.
<p style="background-color:#402870;">Content here</p>
#402870 border color
This element has a border color of #402870.
<div style="border:1px solid #402870;">Content here</div>
CSS codes
.text {color:#402870;}
.background {background-color:#402870;}
.border {border:1px solid #402870;}
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, #06040b is the darkest color, while #fcfbfe is the lightest one.
-
#06040b
#06040b
rgb(6,4,11)
-
#0e0919
#0e0919
rgb(14,9,25)
-
#170e28
#170e28
rgb(23,14,40)
-
#1f1336
#1f1336
rgb(31,19,54)
-
#271945
#271945
rgb(39,25,69)
-
#2f1e53
#2f1e53
rgb(47,30,83)
-
#382362
#382362
rgb(56,35,98)
-
#402870
#402870
rgb(64,40,112)
-
#482d7e
#482d7e
rgb(72,45,126)
-
#51328d
#51328d
rgb(81,50,141)
-
#59379b
#59379b
rgb(89,55,155)
-
#613daa
#613daa
rgb(97,61,170)
-
#6942b8
#6942b8
rgb(105,66,184)
Shade Color Variation
-
#744ec0
#744ec0
rgb(116,78,192)
-
#7f5cc5
#7f5cc5
rgb(127,92,197)
-
#8b6bca
#8b6bca
rgb(139,107,202)
-
#9679cf
#9679cf
rgb(150,121,207)
-
#a188d4
#a188d4
rgb(161,136,212)
-
#ad96da
#ad96da
rgb(173,150,218)
-
#b8a5df
#b8a5df
rgb(184,165,223)
-
#c3b3e4
#c3b3e4
rgb(195,179,228)
-
#cfc2e9
#cfc2e9
rgb(207,194,233)
-
#dad0ee
#dad0ee
rgb(218,208,238)
-
#e5def3
#e5def3
rgb(229,222,243)
-
#f1edf9
#f1edf9
rgb(241,237,249)
-
#fcfbfe
#fcfbfe
rgb(252,251,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #4c4b4d is the less saturated color, while #340593 is the most saturated one.
-
#4c4b4d
#4c4b4d
rgb(76,75,77)
-
#4a4553
#4a4553
rgb(74,69,83)
-
#483f59
#483f59
rgb(72,63,89)
-
#463a5e
#463a5e
rgb(70,58,94)
-
#443464
#443464
rgb(68,52,100)
-
#422e6a
#422e6a
rgb(66,46,106)
-
#402870
#402870
rgb(64,40,112)
-
#3e2276
#3e2276
rgb(62,34,118)
-
#3c1c7c
#3c1c7c
rgb(60,28,124)
-
#3a1682
#3a1682
rgb(58,22,130)
-
#381187
#381187
rgb(56,17,135)
-
#360b8d
#360b8d
rgb(54,11,141)
-
#340593
#340593
rgb(52,5,147)
Tone Color Variation
Below, you can see how #402870 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.
Monochromacy
Dichromacy