In RGB color space, #5312a1 hex color has a red value of 83, a green value of 18 and a blue value of 161.
In CMYK color space (used in color printing), #5312a1 hex color is composed of 48.45% cyan, 88.82% magenta, 0% yellow and 36.86% black.
#5312a1 color has a hue of 267.3 degrees, a saturation of 79.89% and a lightness of 35.1%.
#5312a1 hex color contains mainly BLUE.
The closest web safe color of #5312a1 is #660099
#5312a1 hex color has a decimal value of 5444257.
HEX | 5312a1 | #5312a1 |
---|---|---|
RGB | 83, 18, 161 | rgb(83, 18, 161) |
RGB Percent | 32.55, 7.06, 63.14 | rgb(32.55, 7.06, 63.14) |
CMYK | 48, 89, 0, 37 | |
HSL | 267.3°, 79.89, 35.1 | hsl(267.3, 79.89%, 35.1%) |
HSV | 267.3°, 88.8, 63.1 |
XYZ | 10.217, 4.845, 34.115 |
---|---|
Hunter Lab | 22.011, 44.334, -76.485 |
CIE-LAB | 26.289, 55.46, -62.928 |
CIE-LCH | 26.289, 83.879, 311.391 |
CIE-LUV | 48.45, 88.82, 0, 36.86 |
Web Safe | 660099 |
RGB percent of color #5312a1
CMYK percent of color #5312a1
Text with hexadecimal color #5312a1
This text has a font color of #5312a1
<p style="color:#5312a1">Text here</p>
#5312a1 Background Color
This box has a background color of #5312a1
<div style="background-color:#5312a1">Text here</div>
#5312a1 Border Color
This box has a border color of #5312a1
<div style="border: 4px solid #5312a1">Text here</div>
CSS codes
<p style="color:#5312a1">Text here</p>
<div style="background-color:#5312a1">Text here</div>
<div style="border: 4px solid #5312a1">Text here</div>
#5312a1 Color on white background
This is how a font and box color of #5312a1 will look
on a white background.
#5312a1 Color on black background
This is how a font and box color of #5312a1 hex color will look
on a black background.