#502170 hex color
In a RGB color space, hex #502170 is composed of 31.4% red, 12.9% green and 43.9% blue. Whereas in a CMYK color space, it is composed of 28.6% cyan, 70.5% magenta, 0% yellow and 56.1% black. It has a hue angle of 275.7 degrees, a saturation of 54.5% and a lightness of 28.4%. #502170 color hex could be obtained by blending #a042e0 with #000000. Closest websafe color is: #663366.
-
- R 31
- G 13
- B 44
RGB color chart
-
- C 29
- M 71
- Y 0
- K 56
CMYK color chart
● #502170 color description : Very dark violet.
The hexadecimal color #502170 has RGB values of R:80, G:33, B:112 and CMYK values of C:0.29, M:0.71, Y:0, K:0.56. Its decimal value is 5251440.
Hex triplet | 502170 | #502170 |
---|---|---|
RGB Decimal | 80, 33, 112 | rgb(80,33,112) |
RGB Percent | 31.4, 12.9, 43.9 | rgb(31.4%,12.9%,43.9%) |
CMYK | 29, 71, 0, 56 | |
HSL | 275.7°, 54.5, 28.4 | hsl(275.7,54.5%,28.4%) |
HSV (or HSB) | 275.7°, 70.5, 43.9 | |
Web Safe | 663366 | #663366 |
CIE-LAB | 23.549, 36.855, -36.768 |
---|---|
XYZ | 6.776, 3.963, 15.736 |
xyY | 0.256, 0.15, 3.963 |
CIE-LCH | 23.549, 52.06, 315.068 |
CIE-LUV | 23.549, 12.587, -47.112 |
Hunter-Lab | 19.908, 25.92, -32.931 |
Binary | 01010000, 00100001, 01110000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #502170. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #502170
This text has a font color of #502170.
<span style="color:#502170;">Text here</span>
#502170 background color
This paragraph has a background color of #502170.
<p style="background-color:#502170;">Content here</p>
#502170 border color
This element has a border color of #502170.
<div style="border:1px solid #502170;">Content here</div>
CSS codes
.text {color:#502170;}
.background {background-color:#502170;}
.border {border:1px solid #502170;}
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, #040206 is the darkest color, while #faf6fc is the lightest one.
-
#040206
#040206
rgb(4,2,6)
-
#0f0615
#0f0615
rgb(15,6,21)
-
#1a0b24
#1a0b24
rgb(26,11,36)
-
#250f33
#250f33
rgb(37,15,51)
-
#301443
#301443
rgb(48,20,67)
-
#3a1852
#3a1852
rgb(58,24,82)
-
#451d61
#451d61
rgb(69,29,97)
-
#502170
#502170
rgb(80,33,112)
-
#5b257f
#5b257f
rgb(91,37,127)
-
#662a8e
#662a8e
rgb(102,42,142)
-
#702e9d
#702e9d
rgb(112,46,157)
-
#7b33ad
#7b33ad
rgb(123,51,173)
-
#8637bc
#8637bc
rgb(134,55,188)
Shade Color Variation
-
#9040c7
#9040c7
rgb(144,64,199)
-
#994fcb
#994fcb
rgb(153,79,203)
-
#a25ed0
#a25ed0
rgb(162,94,208)
-
#ab6dd4
#ab6dd4
rgb(171,109,212)
-
#b37dd9
#b37dd9
rgb(179,125,217)
-
#bc8cdd
#bc8cdd
rgb(188,140,221)
-
#c59be2
#c59be2
rgb(197,155,226)
-
#ceaae6
#ceaae6
rgb(206,170,230)
-
#d6b9ea
#d6b9ea
rgb(214,185,234)
-
#dfc8ef
#dfc8ef
rgb(223,200,239)
-
#e8d7f3
#e8d7f3
rgb(232,215,243)
-
#f1e7f8
#f1e7f8
rgb(241,231,248)
-
#faf6fc
#faf6fc
rgb(250,246,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #494849 is the less saturated color, while #55058c is the most saturated one.
-
#494849
#494849
rgb(73,72,73)
-
#4a424f
#4a424f
rgb(74,66,79)
-
#4b3d54
#4b3d54
rgb(75,61,84)
-
#4c375a
#4c375a
rgb(76,55,90)
-
#4d325f
#4d325f
rgb(77,50,95)
-
#4e2c65
#4e2c65
rgb(78,44,101)
-
#4f276a
#4f276a
rgb(79,39,106)
-
#502170
#502170
rgb(80,33,112)
-
#511b76
#511b76
rgb(81,27,118)
-
#52167b
#52167b
rgb(82,22,123)
-
#531081
#531081
rgb(83,16,129)
-
#540b86
#540b86
rgb(84,11,134)
-
#55058c
#55058c
rgb(85,5,140)
Tone Color Variation
Below, you can see how #502170 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