#512f7e hex color
In a RGB color space, hex #512f7e is composed of 31.8% red, 18.4% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 35.7% cyan, 62.7% magenta, 0% yellow and 50.6% black. It has a hue angle of 265.8 degrees, a saturation of 45.7% and a lightness of 33.9%. #512f7e color hex could be obtained by blending #a25efc with #000000. Closest websafe color is: #663366.
-
- R 32
- G 18
- B 49
RGB color chart
-
- C 36
- M 63
- Y 0
- K 51
CMYK color chart
● #512f7e color description : Dark moderate violet.
The hexadecimal color #512f7e has RGB values of R:81, G:47, B:126 and CMYK values of C:0.36, M:0.63, Y:0, K:0.51. Its decimal value is 5320574.
Hex triplet | 512f7e | #512f7e |
---|---|---|
RGB Decimal | 81, 47, 126 | rgb(81,47,126) |
RGB Percent | 31.8, 18.4, 49.4 | rgb(31.8%,18.4%,49.4%) |
CMYK | 36, 63, 0, 51 | |
HSL | 265.8°, 45.7, 33.9 | hsl(265.8,45.7%,33.9%) |
HSV (or HSB) | 265.8°, 62.7, 49.4 | |
Web Safe | 663366 | #663366 |
CIE-LAB | 27.542, 33.029, -39.234 |
---|---|
XYZ | 8.175, 5.289, 20.328 |
xyY | 0.242, 0.157, 5.289 |
CIE-LCH | 27.542, 51.286, 310.092 |
CIE-LUV | 27.542, 8.014, -52.913 |
Hunter-Lab | 22.997, 23.208, -36.309 |
Binary | 01010001, 00101111, 01111110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #512f7e. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #512f7e
This text has a font color of #512f7e.
<span style="color:#512f7e;">Text here</span>
#512f7e background color
This paragraph has a background color of #512f7e.
<p style="background-color:#512f7e;">Content here</p>
#512f7e border color
This element has a border color of #512f7e.
<div style="border:1px solid #512f7e;">Content here</div>
CSS codes
.text {color:#512f7e;}
.background {background-color:#512f7e;}
.border {border:1px solid #512f7e;}
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, #08040c is the darkest color, while #fdfcfe is the lightest one.
-
#08040c
#08040c
rgb(8,4,12)
-
#110a1a
#110a1a
rgb(17,10,26)
-
#1a0f28
#1a0f28
rgb(26,15,40)
-
#231437
#231437
rgb(35,20,55)
-
#2c1a45
#2c1a45
rgb(44,26,69)
-
#351f53
#351f53
rgb(53,31,83)
-
#3f2461
#3f2461
rgb(63,36,97)
-
#482a70
#482a70
rgb(72,42,112)
-
#512f7e
#512f7e
rgb(81,47,126)
-
#5a348c
#5a348c
rgb(90,52,140)
-
#633a9b
#633a9b
rgb(99,58,155)
-
#6d3fa9
#6d3fa9
rgb(109,63,169)
-
#7644b7
#7644b7
rgb(118,68,183)
Shade Color Variation
-
#8051be
#8051be
rgb(128,81,190)
-
#8a5fc3
#8a5fc3
rgb(138,95,195)
-
#956ec9
#956ec9
rgb(149,110,201)
-
#9f7cce
#9f7cce
rgb(159,124,206)
-
#aa8ad3
#aa8ad3
rgb(170,138,211)
-
#b498d9
#b498d9
rgb(180,152,217)
-
#bfa7de
#bfa7de
rgb(191,167,222)
-
#c9b5e3
#c9b5e3
rgb(201,181,227)
-
#d3c3e9
#d3c3e9
rgb(211,195,233)
-
#ded2ee
#ded2ee
rgb(222,210,238)
-
#e8e0f3
#e8e0f3
rgb(232,224,243)
-
#f3eef9
#f3eef9
rgb(243,238,249)
-
#fdfcfe
#fdfcfe
rgb(253,252,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #56505d is the less saturated color, while #4b00ad is the most saturated one.
-
#56505d
#56505d
rgb(86,80,93)
-
#554a63
#554a63
rgb(85,74,99)
-
#54436a
#54436a
rgb(84,67,106)
-
#533c71
#533c71
rgb(83,60,113)
-
#523677
#523677
rgb(82,54,119)
-
#512f7e
#512f7e
rgb(81,47,126)
-
#502885
#502885
rgb(80,40,133)
-
#4f228b
#4f228b
rgb(79,34,139)
-
#4e1b92
#4e1b92
rgb(78,27,146)
-
#4d1499
#4d1499
rgb(77,20,153)
-
#4c0e9f
#4c0e9f
rgb(76,14,159)
-
#4b07a6
#4b07a6
rgb(75,7,166)
-
#4b00ad
#4b00ad
rgb(75,0,173)
Tone Color Variation
Below, you can see how #512f7e 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