In RGB color space, #5312b1 hex color has a red value of 83, a green value of 18 and a blue value of 177.
In CMYK color space (used in color printing), #5312b1 hex color is composed of 53.11% cyan, 89.83% magenta, 0% yellow and 30.59% black.
#5312b1 color has a hue of 264.5 degrees, a saturation of 81.54% and a lightness of 38.2%.
#5312b1 hex color contains mainly BLUE.
The closest web safe color of #5312b1 is #660099
#5312b1 hex color has a decimal value of 5444273.
HEX | 5312b1 | #5312b1 |
---|---|---|
RGB | 83, 18, 177 | rgb(83, 18, 177) |
RGB Percent | 32.55, 7.06, 69.41 | rgb(32.55, 7.06, 69.41) |
CMYK | 53, 90, 0, 31 | |
HSL | 264.5°, 81.54, 38.2 | hsl(264.5, 81.54%, 38.2%) |
HSV | 264.5°, 89.8, 69.4 |
XYZ | 11.719, 5.446, 42.028 |
---|---|
Hunter Lab | 23.337, 48.798, -90.442 |
CIE-LAB | 27.969, 59.336, -69.811 |
CIE-LCH | 27.969, 91.621, 310.363 |
CIE-LUV | 53.11, 89.83, 0, 30.59 |
Web Safe | 660099 |
RGB percent of color #5312b1
CMYK percent of color #5312b1
Text with hexadecimal color #5312b1
This text has a font color of #5312b1
<p style="color:#5312b1">Text here</p>
#5312b1 Background Color
This box has a background color of #5312b1
<div style="background-color:#5312b1">Text here</div>
#5312b1 Border Color
This box has a border color of #5312b1
<div style="border: 4px solid #5312b1">Text here</div>
CSS codes
<p style="color:#5312b1">Text here</p>
<div style="background-color:#5312b1">Text here</div>
<div style="border: 4px solid #5312b1">Text here</div>
#5312b1 Color on white background
This is how a font and box color of #5312b1 will look
on a white background.
#5312b1 Color on black background
This is how a font and box color of #5312b1 hex color will look
on a black background.