In RGB color space, #5123a0 hex color has a red value of 81, a green value of 35 and a blue value of 160.
In CMYK color space (used in color printing), #5123a0 hex color is composed of 49.38% cyan, 78.13% magenta, 0% yellow and 37.25% black.
#5123a0 color has a hue of 262.1 degrees, a saturation of 64.1% and a lightness of 38.2%.
#5123a0 hex color contains mainly BLUE.
The closest web safe color of #5123a0 is #663399
#5123a0 hex color has a decimal value of 5317536.
HEX | 5123a0 | #5123a0 |
---|---|---|
RGB | 81, 35, 160 | rgb(81, 35, 160) |
RGB Percent | 31.76, 13.73, 62.75 | rgb(31.76, 13.73, 62.75) |
CMYK | 49, 78, 0, 37 | |
HSL | 262.1°, 64.1, 38.2 | hsl(262.1, 64.1%, 38.2%) |
HSV | 262.1°, 78.1, 62.7 |
XYZ | 10.34, 5.489, 33.772 |
---|---|
Hunter Lab | 23.429, 37.779, -69.066 |
CIE-LAB | 28.085, 48.667, -59.374 |
CIE-LCH | 28.085, 76.771, 309.34 |
CIE-LUV | 49.38, 78.13, 0, 37.25 |
Web Safe | 663399 |
RGB percent of color #5123a0
CMYK percent of color #5123a0
Text with hexadecimal color #5123a0
This text has a font color of #5123a0
<p style="color:#5123a0">Text here</p>
#5123a0 Background Color
This box has a background color of #5123a0
<div style="background-color:#5123a0">Text here</div>
#5123a0 Border Color
This box has a border color of #5123a0
<div style="border: 4px solid #5123a0">Text here</div>
CSS codes
<p style="color:#5123a0">Text here</p>
<div style="background-color:#5123a0">Text here</div>
<div style="border: 4px solid #5123a0">Text here</div>
#5123a0 Color on white background
This is how a font and box color of #5123a0 will look
on a white background.
#5123a0 Color on black background
This is how a font and box color of #5123a0 hex color will look
on a black background.