#512a79 hex color
In a RGB color space, hex #512a79 is composed of 31.8% red, 16.5% green and 47.5% blue. Whereas in a CMYK color space, it is composed of 33.1% cyan, 65.3% magenta, 0% yellow and 52.5% black. It has a hue angle of 269.6 degrees, a saturation of 48.5% and a lightness of 32%. #512a79 color hex could be obtained by blending #a254f2 with #000000. Closest websafe color is: #663366.
-
- R 32
- G 16
- B 47
RGB color chart
-
- C 33
- M 65
- Y 0
- K 53
CMYK color chart
● #512a79 color description : Dark moderate violet.
The hexadecimal color #512a79 has RGB values of R:81, G:42, B:121 and CMYK values of C:0.33, M:0.65, Y:0, K:0.53. Its decimal value is 5319289.
Hex triplet | 512a79 | #512a79 |
---|---|---|
RGB Decimal | 81, 42, 121 | rgb(81,42,121) |
RGB Percent | 31.8, 16.5, 47.5 | rgb(31.8%,16.5%,47.5%) |
CMYK | 33, 65, 0, 53 | |
HSL | 269.6°, 48.5, 32 | hsl(269.6,48.5%,32%) |
HSV (or HSB) | 269.6°, 65.3, 47.5 | |
Web Safe | 663366 | #663366 |
CIE-LAB | 26.116, 34.553, -38.374 |
---|---|
XYZ | 7.672, 4.786, 18.608 |
xyY | 0.247, 0.154, 4.786 |
CIE-LCH | 26.116, 51.638, 312 |
CIE-LUV | 26.116, 9.847, -50.908 |
Hunter-Lab | 21.877, 24.315, -35.117 |
Binary | 01010001, 00101010, 01111001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #512a79. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #512a79
This text has a font color of #512a79.
<span style="color:#512a79;">Text here</span>
#512a79 background color
This paragraph has a background color of #512a79.
<p style="background-color:#512a79;">Content here</p>
#512a79 border color
This element has a border color of #512a79.
<div style="border:1px solid #512a79;">Content here</div>
CSS codes
.text {color:#512a79;}
.background {background-color:#512a79;}
.border {border:1px solid #512a79;}
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, #030205 is the darkest color, while #f8f5fc is the lightest one.
-
#030205
#030205
rgb(3,2,5)
-
#0d0713
#0d0713
rgb(13,7,19)
-
#170c22
#170c22
rgb(23,12,34)
-
#201130
#201130
rgb(32,17,48)
-
#2a163f
#2a163f
rgb(42,22,63)
-
#341b4d
#341b4d
rgb(52,27,77)
-
#3e205c
#3e205c
rgb(62,32,92)
-
#47256a
#47256a
rgb(71,37,106)
-
#512a79
#512a79
rgb(81,42,121)
-
#5b2f88
#5b2f88
rgb(91,47,136)
-
#643496
#643496
rgb(100,52,150)
-
#6e39a5
#6e39a5
rgb(110,57,165)
-
#783eb3
#783eb3
rgb(120,62,179)
Shade Color Variation
-
#8246bf
#8246bf
rgb(130,70,191)
-
#8c55c4
#8c55c4
rgb(140,85,196)
-
#9663c9
#9663c9
rgb(150,99,201)
-
#9f72ce
#9f72ce
rgb(159,114,206)
-
#a980d3
#a980d3
rgb(169,128,211)
-
#b38fd8
#b38fd8
rgb(179,143,216)
-
#bd9edd
#bd9edd
rgb(189,158,221)
-
#c7ace2
#c7ace2
rgb(199,172,226)
-
#d1bbe7
#d1bbe7
rgb(209,187,231)
-
#dbc9ec
#dbc9ec
rgb(219,201,236)
-
#e4d8f1
#e4d8f1
rgb(228,216,241)
-
#eee6f6
#eee6f6
rgb(238,230,246)
-
#f8f5fc
#f8f5fc
rgb(248,245,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #515053 is the less saturated color, while #51049f is the most saturated one.
-
#515053
#515053
rgb(81,80,83)
-
#51495a
#51495a
rgb(81,73,90)
-
#514360
#514360
rgb(81,67,96)
-
#513d66
#513d66
rgb(81,61,102)
-
#51376c
#51376c
rgb(81,55,108)
-
#513073
#513073
rgb(81,48,115)
-
#512a79
#512a79
rgb(81,42,121)
-
#51247f
#51247f
rgb(81,36,127)
-
#511d86
#511d86
rgb(81,29,134)
-
#51178c
#51178c
rgb(81,23,140)
-
#511192
#511192
rgb(81,17,146)
-
#510b98
#510b98
rgb(81,11,152)
-
#51049f
#51049f
rgb(81,4,159)
Tone Color Variation
Below, you can see how #512a79 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