#512170 hex color
In a RGB color space, hex #512170 is composed of 31.8% red, 12.9% green and 43.9% blue. Whereas in a CMYK color space, it is composed of 27.7% cyan, 70.5% magenta, 0% yellow and 56.1% black. It has a hue angle of 276.5 degrees, a saturation of 54.5% and a lightness of 28.4%. #512170 color hex could be obtained by blending #a242e0 with #000000. Closest websafe color is: #663366.
-
- R 32
- G 13
- B 44
RGB color chart
-
- C 28
- M 71
- Y 0
- K 56
CMYK color chart
● #512170 color description : Very dark violet.
The hexadecimal color #512170 has RGB values of R:81, G:33, B:112 and CMYK values of C:0.28, M:0.71, Y:0, K:0.56. Its decimal value is 5316976.
Hex triplet | 512170 | #512170 |
---|---|---|
RGB Decimal | 81, 33, 112 | rgb(81,33,112) |
RGB Percent | 31.8, 12.9, 43.9 | rgb(31.8%,12.9%,43.9%) |
CMYK | 28, 71, 0, 56 | |
HSL | 276.5°, 54.5, 28.4 | hsl(276.5,54.5%,28.4%) |
HSV (or HSB) | 276.5°, 70.5, 43.9 | |
Web Safe | 663366 | #663366 |
CIE-LAB | 23.695, 37.093, -36.527 |
---|---|
XYZ | 6.861, 4.007, 15.74 |
xyY | 0.258, 0.151, 4.007 |
CIE-LCH | 23.695, 52.058, 315.441 |
CIE-LUV | 23.695, 13.096, -46.978 |
Hunter-Lab | 20.018, 26.153, -32.609 |
Binary | 01010001, 00100001, 01110000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #512170. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #512170
This text has a font color of #512170.
<span style="color:#512170;">Text here</span>
#512170 background color
This paragraph has a background color of #512170.
<p style="background-color:#512170;">Content here</p>
#512170 border color
This element has a border color of #512170.
<div style="border:1px solid #512170;">Content here</div>
CSS codes
.text {color:#512170;}
.background {background-color:#512170;}
.border {border:1px solid #512170;}
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)
-
#3b1852
#3b1852
rgb(59,24,82)
-
#461d61
#461d61
rgb(70,29,97)
-
#512170
#512170
rgb(81,33,112)
-
#5c257f
#5c257f
rgb(92,37,127)
-
#672a8e
#672a8e
rgb(103,42,142)
-
#722e9d
#722e9d
rgb(114,46,157)
-
#7d33ad
#7d33ad
rgb(125,51,173)
-
#8837bc
#8837bc
rgb(136,55,188)
Shade Color Variation
-
#9240c7
#9240c7
rgb(146,64,199)
-
#9b4fcb
#9b4fcb
rgb(155,79,203)
-
#a35ed0
#a35ed0
rgb(163,94,208)
-
#ac6dd4
#ac6dd4
rgb(172,109,212)
-
#b47dd9
#b47dd9
rgb(180,125,217)
-
#bd8cdd
#bd8cdd
rgb(189,140,221)
-
#c69be2
#c69be2
rgb(198,155,226)
-
#ceaae6
#ceaae6
rgb(206,170,230)
-
#d7b9ea
#d7b9ea
rgb(215,185,234)
-
#e0c8ef
#e0c8ef
rgb(224,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 #57058c 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)
-
#4f2c65
#4f2c65
rgb(79,44,101)
-
#50276a
#50276a
rgb(80,39,106)
-
#512170
#512170
rgb(81,33,112)
-
#521b76
#521b76
rgb(82,27,118)
-
#53167b
#53167b
rgb(83,22,123)
-
#551081
#551081
rgb(85,16,129)
-
#560b86
#560b86
rgb(86,11,134)
-
#57058c
#57058c
rgb(87,5,140)
Tone Color Variation
Below, you can see how #512170 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