In RGB color space, #5312a7 hex color has a red value of 83, a green value of 18 and a blue value of 167.
In CMYK color space (used in color printing), #5312a7 hex color is composed of 50.3% cyan, 89.22% magenta, 0% yellow and 34.51% black.
#5312a7 color has a hue of 266.2 degrees, a saturation of 80.54% and a lightness of 36.3%.
#5312a7 hex color contains mainly BLUE.
The closest web safe color of #5312a7 is #660099
#5312a7 hex color has a decimal value of 5444263.
HEX | 5312a7 | #5312a7 |
---|---|---|
RGB | 83, 18, 167 | rgb(83, 18, 167) |
RGB Percent | 32.55, 7.06, 65.49 | rgb(32.55, 7.06, 65.49) |
CMYK | 50, 89, 0, 35 | |
HSL | 266.2°, 80.54, 36.3 | hsl(266.2, 80.54%, 36.3%) |
HSV | 266.2°, 89.2, 65.5 |
XYZ | 10.759, 5.062, 36.969 |
---|---|
Hunter Lab | 22.499, 45.986, -81.673 |
CIE-LAB | 26.911, 56.91, -65.542 |
CIE-LCH | 26.911, 86.802, 310.968 |
CIE-LUV | 50.3, 89.22, 0, 34.51 |
Web Safe | 660099 |
RGB percent of color #5312a7
CMYK percent of color #5312a7
Text with hexadecimal color #5312a7
This text has a font color of #5312a7
<p style="color:#5312a7">Text here</p>
#5312a7 Background Color
This box has a background color of #5312a7
<div style="background-color:#5312a7">Text here</div>
#5312a7 Border Color
This box has a border color of #5312a7
<div style="border: 4px solid #5312a7">Text here</div>
CSS codes
<p style="color:#5312a7">Text here</p>
<div style="background-color:#5312a7">Text here</div>
<div style="border: 4px solid #5312a7">Text here</div>
#5312a7 Color on white background
This is how a font and box color of #5312a7 will look
on a white background.
#5312a7 Color on black background
This is how a font and box color of #5312a7 hex color will look
on a black background.