In RGB color space, #5231a8 hex color has a red value of 82, a green value of 49 and a blue value of 168.
In CMYK color space (used in color printing), #5231a8 hex color is composed of 51.19% cyan, 70.83% magenta, 0% yellow and 34.12% black.
#5231a8 color has a hue of 256.6 degrees, a saturation of 54.84% and a lightness of 42.5%.
#5231a8 hex color contains mainly BLUE.
The closest web safe color of #5231a8 is #663399
#5231a8 hex color has a decimal value of 5386664.
HEX | 5231a8 | #5231a8 |
---|---|---|
RGB | 82, 49, 168 | rgb(82, 49, 168) |
RGB Percent | 32.16, 19.22, 65.88 | rgb(32.16, 19.22, 65.88) |
CMYK | 51, 71, 0, 34 | |
HSL | 256.6°, 54.84, 42.5 | hsl(256.6, 54.84%, 42.5%) |
HSV | 256.6°, 70.8, 65.9 |
XYZ | 11.646, 6.818, 37.748 |
---|---|
Hunter Lab | 26.111, 33.919, -67.435 |
CIE-LAB | 31.389, 44.079, -58.794 |
CIE-LCH | 31.389, 73.483, 306.86 |
CIE-LUV | 51.19, 70.83, 0, 34.12 |
Web Safe | 663399 |
RGB percent of color #5231a8
CMYK percent of color #5231a8
Text with hexadecimal color #5231a8
This text has a font color of #5231a8
<p style="color:#5231a8">Text here</p>
#5231a8 Background Color
This box has a background color of #5231a8
<div style="background-color:#5231a8">Text here</div>
#5231a8 Border Color
This box has a border color of #5231a8
<div style="border: 4px solid #5231a8">Text here</div>
CSS codes
<p style="color:#5231a8">Text here</p>
<div style="background-color:#5231a8">Text here</div>
<div style="border: 4px solid #5231a8">Text here</div>
#5231a8 Color on white background
This is how a font and box color of #5231a8 will look
on a white background.
#5231a8 Color on black background
This is how a font and box color of #5231a8 hex color will look
on a black background.