#512a9c hex color
In a RGB color space, hex #512a9c is composed of 31.8% red, 16.5% green and 61.2% blue. Whereas in a CMYK color space, it is composed of 48.1% cyan, 73.1% magenta, 0% yellow and 38.8% black. It has a hue angle of 260.5 degrees, a saturation of 57.6% and a lightness of 38.8%. #512a9c color hex could be obtained by blending #a254ff with #000039. Closest websafe color is: #663399.
-
- R 32
- G 16
- B 61
RGB color chart
-
- C 48
- M 73
- Y 0
- K 39
CMYK color chart
● #512a9c color description : Dark violet.
The hexadecimal color #512a9c has RGB values of R:81, G:42, B:156 and CMYK values of C:0.48, M:0.73, Y:0, K:0.39. Its decimal value is 5319324.
Hex triplet | 512a9c | #512a9c |
---|---|---|
RGB Decimal | 81, 42, 156 | rgb(81,42,156) |
RGB Percent | 31.8, 16.5, 61.2 | rgb(31.8%,16.5%,61.2%) |
CMYK | 48, 73, 0, 39 | |
HSL | 260.5°, 57.6, 38.8 | hsl(260.5,57.6%,38.8%) |
HSV (or HSB) | 260.5°, 73.1, 61.2 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 28.916, 44.165, -55.575 |
---|---|
XYZ | 10.221, 5.805, 32.033 |
xyY | 0.213, 0.121, 5.805 |
CIE-LCH | 28.916, 70.987, 308.473 |
CIE-LUV | 28.916, 5.096, -74.497 |
Hunter-Lab | 24.094, 33.555, -61.958 |
Binary | 01010001, 00101010, 10011100 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #512a9c. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #512a9c
This text has a font color of #512a9c.
<span style="color:#512a9c;">Text here</span>
#512a9c background color
This paragraph has a background color of #512a9c.
<p style="background-color:#512a9c;">Content here</p>
#512a9c border color
This element has a border color of #512a9c.
<div style="border:1px solid #512a9c;">Content here</div>
CSS codes
.text {color:#512a9c;}
.background {background-color:#512a9c;}
.border {border:1px solid #512a9c;}
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, #010001 is the darkest color, while #f5f1fb is the lightest one.
-
#010001
#010001
rgb(1,0,1)
-
#090511
#090511
rgb(9,5,17)
-
#110920
#110920
rgb(17,9,32)
-
#190d30
#190d30
rgb(25,13,48)
-
#21113f
#21113f
rgb(33,17,63)
-
#29154f
#29154f
rgb(41,21,79)
-
#31195e
#31195e
rgb(49,25,94)
-
#391e6e
#391e6e
rgb(57,30,110)
-
#41227d
#41227d
rgb(65,34,125)
-
#49268d
#49268d
rgb(73,38,141)
-
#512a9c
#512a9c
rgb(81,42,156)
-
#592eab
#592eab
rgb(89,46,171)
-
#6132bb
#6132bb
rgb(97,50,187)
Shade Color Variation
-
#6938c9
#6938c9
rgb(105,56,201)
-
#7547cd
#7547cd
rgb(117,71,205)
-
#8156d2
#8156d2
rgb(129,86,210)
-
#8c66d6
#8c66d6
rgb(140,102,214)
-
#9875da
#9875da
rgb(152,117,218)
-
#a385de
#a385de
rgb(163,133,222)
-
#af94e2
#af94e2
rgb(175,148,226)
-
#bba4e6
#bba4e6
rgb(187,164,230)
-
#c6b3eb
#c6b3eb
rgb(198,179,235)
-
#d2c3ef
#d2c3ef
rgb(210,195,239)
-
#ddd2f3
#ddd2f3
rgb(221,210,243)
-
#e9e2f7
#e9e2f7
rgb(233,226,247)
-
#f5f1fb
#f5f1fb
rgb(245,241,251)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #625f67 is the less saturated color, while #4504c2 is the most saturated one.
-
#625f67
#625f67
rgb(98,95,103)
-
#5f586e
#5f586e
rgb(95,88,110)
-
#5d5076
#5d5076
rgb(93,80,118)
-
#5b487e
#5b487e
rgb(91,72,126)
-
#584185
#584185
rgb(88,65,133)
-
#56398d
#56398d
rgb(86,57,141)
-
#533294
#533294
rgb(83,50,148)
-
#512a9c
#512a9c
rgb(81,42,156)
-
#4f22a4
#4f22a4
rgb(79,34,164)
-
#4c1bab
#4c1bab
rgb(76,27,171)
-
#4a13b3
#4a13b3
rgb(74,19,179)
-
#470cba
#470cba
rgb(71,12,186)
-
#4504c2
#4504c2
rgb(69,4,194)
Tone Color Variation
Below, you can see how #512a9c 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