#512791 hex color
In a RGB color space, hex #512791 is composed of 31.8% red, 15.3% green and 56.9% blue. Whereas in a CMYK color space, it is composed of 44.1% cyan, 73.1% magenta, 0% yellow and 43.1% black. It has a hue angle of 263.8 degrees, a saturation of 57.6% and a lightness of 36.1%. #512791 color hex could be obtained by blending #a24eff with #000023. Closest websafe color is: #663399.
-
- R 32
- G 15
- B 57
RGB color chart
-
- C 44
- M 73
- Y 0
- K 43
CMYK color chart
● #512791 color description : Dark violet.
The hexadecimal color #512791 has RGB values of R:81, G:39, B:145 and CMYK values of C:0.44, M:0.73, Y:0, K:0.43. Its decimal value is 5318545.
Hex triplet | 512791 | #512791 |
---|---|---|
RGB Decimal | 81, 39, 145 | rgb(81,39,145) |
RGB Percent | 31.8, 15.3, 56.9 | rgb(31.8%,15.3%,56.9%) |
CMYK | 44, 73, 0, 43 | |
HSL | 263.8°, 57.6, 36.1 | hsl(263.8,57.6%,36.1%) |
HSV (or HSB) | 263.8°, 73.1, 56.9 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 27.421, 42.654, -51.27 |
---|---|
XYZ | 9.229, 5.245, 27.313 |
xyY | 0.221, 0.126, 5.245 |
CIE-LCH | 27.421, 66.693, 309.758 |
CIE-LUV | 27.421, 6.958, -67.876 |
Hunter-Lab | 22.901, 31.855, -54.68 |
Binary | 01010001, 00100111, 10010001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #512791. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #512791
This text has a font color of #512791.
<span style="color:#512791;">Text here</span>
#512791 background color
This paragraph has a background color of #512791.
<p style="background-color:#512791;">Content here</p>
#512791 border color
This element has a border color of #512791.
<div style="border:1px solid #512791;">Content here</div>
CSS codes
.text {color:#512791;}
.background {background-color:#512791;}
.border {border:1px solid #512791;}
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, #030206 is the darkest color, while #f8f5fc is the lightest one.
-
#030206
#030206
rgb(3,2,6)
-
#0c0615
#0c0615
rgb(12,6,21)
-
#150a25
#150a25
rgb(21,10,37)
-
#1d0e34
#1d0e34
rgb(29,14,52)
-
#261244
#261244
rgb(38,18,68)
-
#2e1653
#2e1653
rgb(46,22,83)
-
#371b63
#371b63
rgb(55,27,99)
-
#401f72
#401f72
rgb(64,31,114)
-
#482382
#482382
rgb(72,35,130)
-
#512791
#512791
rgb(81,39,145)
-
#5a2ba0
#5a2ba0
rgb(90,43,160)
-
#622fb0
#622fb0
rgb(98,47,176)
-
#6b33bf
#6b33bf
rgb(107,51,191)
Shade Color Variation
-
#743ccb
#743ccb
rgb(116,60,203)
-
#7f4bcf
#7f4bcf
rgb(127,75,207)
-
#8a5bd3
#8a5bd3
rgb(138,91,211)
-
#956ad7
#956ad7
rgb(149,106,215)
-
#a07adb
#a07adb
rgb(160,122,219)
-
#ab89df
#ab89df
rgb(171,137,223)
-
#b699e3
#b699e3
rgb(182,153,227)
-
#c1a8e8
#c1a8e8
rgb(193,168,232)
-
#ccb8ec
#ccb8ec
rgb(204,184,236)
-
#d7c7f0
#d7c7f0
rgb(215,199,240)
-
#e2d7f4
#e2d7f4
rgb(226,215,244)
-
#ede6f8
#ede6f8
rgb(237,230,248)
-
#f8f5fc
#f8f5fc
rgb(248,245,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5b595f is the less saturated color, while #4a04b4 is the most saturated one.
-
#5b595f
#5b595f
rgb(91,89,95)
-
#5a5167
#5a5167
rgb(90,81,103)
-
#584a6e
#584a6e
rgb(88,74,110)
-
#574375
#574375
rgb(87,67,117)
-
#553c7c
#553c7c
rgb(85,60,124)
-
#543583
#543583
rgb(84,53,131)
-
#522e8a
#522e8a
rgb(82,46,138)
-
#512791
#512791
rgb(81,39,145)
-
#502098
#502098
rgb(80,32,152)
-
#4e199f
#4e199f
rgb(78,25,159)
-
#4d12a6
#4d12a6
rgb(77,18,166)
-
#4b0bad
#4b0bad
rgb(75,11,173)
-
#4a04b4
#4a04b4
rgb(74,4,180)
Tone Color Variation
Below, you can see how #512791 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