#512187 hex color
In a RGB color space, hex #512187 is composed of 31.8% red, 12.9% green and 52.9% blue. Whereas in a CMYK color space, it is composed of 40% cyan, 75.6% magenta, 0% yellow and 47.1% black. It has a hue angle of 268.2 degrees, a saturation of 60.7% and a lightness of 32.9%. #512187 color hex could be obtained by blending #a242ff with #00000f. Closest websafe color is: #663399.
-
- R 32
- G 13
- B 53
RGB color chart
-
- C 40
- M 76
- Y 0
- K 47
CMYK color chart
● #512187 color description : Dark violet.
The hexadecimal color #512187 has RGB values of R:81, G:33, B:135 and CMYK values of C:0.4, M:0.76, Y:0, K:0.47. Its decimal value is 5316999.
Hex triplet | 512187 | #512187 |
---|---|---|
RGB Decimal | 81, 33, 135 | rgb(81,33,135) |
RGB Percent | 31.8, 12.9, 52.9 | rgb(31.8%,12.9%,52.9%) |
CMYK | 40, 76, 0, 47 | |
HSL | 268.2°, 60.7, 32.9 | hsl(268.2,60.7%,32.9%) |
HSV (or HSB) | 268.2°, 75.6, 52.9 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 25.522, 42.939, -48.153 |
---|---|
XYZ | 8.31, 4.586, 23.368 |
xyY | 0.229, 0.126, 4.586 |
CIE-LCH | 25.522, 64.517, 311.724 |
CIE-LUV | 25.522, 9.275, -62.355 |
Hunter-Lab | 21.416, 31.783, -49.703 |
Binary | 01010001, 00100001, 10000111 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #512187. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #512187
This text has a font color of #512187.
<span style="color:#512187;">Text here</span>
#512187 background color
This paragraph has a background color of #512187.
<p style="background-color:#512187;">Content here</p>
#512187 border color
This element has a border color of #512187.
<div style="border:1px solid #512187;">Content here</div>
CSS codes
.text {color:#512187;}
.background {background-color:#512187;}
.border {border:1px solid #512187;}
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, #050209 is the darkest color, while #fbf8fd is the lightest one.
-
#050209
#050209
rgb(5,2,9)
-
#0f0619
#0f0619
rgb(15,6,25)
-
#180a28
#180a28
rgb(24,10,40)
-
#220e38
#220e38
rgb(34,14,56)
-
#2b1248
#2b1248
rgb(43,18,72)
-
#351558
#351558
rgb(53,21,88)
-
#3e1967
#3e1967
rgb(62,25,103)
-
#481d77
#481d77
rgb(72,29,119)
-
#512187
#512187
rgb(81,33,135)
-
#5a2597
#5a2597
rgb(90,37,151)
-
#6429a7
#6429a7
rgb(100,41,167)
-
#6d2db6
#6d2db6
rgb(109,45,182)
-
#7730c6
#7730c6
rgb(119,48,198)
Shade Color Variation
-
#813bcf
#813bcf
rgb(129,59,207)
-
#8b4bd3
#8b4bd3
rgb(139,75,211)
-
#955bd7
#955bd7
rgb(149,91,215)
-
#9f6adb
#9f6adb
rgb(159,106,219)
-
#a97ade
#a97ade
rgb(169,122,222)
-
#b38ae2
#b38ae2
rgb(179,138,226)
-
#be9ae6
#be9ae6
rgb(190,154,230)
-
#c8a9ea
#c8a9ea
rgb(200,169,234)
-
#d2b9ee
#d2b9ee
rgb(210,185,238)
-
#dcc9f2
#dcc9f2
rgb(220,201,242)
-
#e6d9f6
#e6d9f6
rgb(230,217,246)
-
#f0e8f9
#f0e8f9
rgb(240,232,249)
-
#fbf8fd
#fbf8fd
rgb(251,248,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #544e5a is the less saturated color, while #4f01a7 is the most saturated one.
-
#544e5a
#544e5a
rgb(84,78,90)
-
#534860
#534860
rgb(83,72,96)
-
#534167
#534167
rgb(83,65,103)
-
#533b6d
#533b6d
rgb(83,59,109)
-
#523474
#523474
rgb(82,52,116)
-
#522e7a
#522e7a
rgb(82,46,122)
-
#512781
#512781
rgb(81,39,129)
-
#512187
#512187
rgb(81,33,135)
-
#511b8d
#511b8d
rgb(81,27,141)
-
#501494
#501494
rgb(80,20,148)
-
#500e9a
#500e9a
rgb(80,14,154)
-
#4f07a1
#4f07a1
rgb(79,7,161)
-
#4f01a7
#4f01a7
rgb(79,1,167)
Tone Color Variation
Below, you can see how #512187 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