In RGB color space, #5a048a hex color has a red value of 90, a green value of 4 and a blue value of 138.
In CMYK color space (used in color printing), #5a048a hex color is composed of 34.78% cyan, 97.1% magenta, 0% yellow and 45.88% black.
#5a048a color has a hue of 278.5 degrees, a saturation of 94.37% and a lightness of 27.8%.
#5a048a hex color contains mainly BLUE.
The closest web safe color of #5a048a is #660099
#5a048a hex color has a decimal value of 5899402.
HEX | 5a048a | #5a048a |
---|---|---|
RGB | 90, 4, 138 | rgb(90, 4, 138) |
RGB Percent | 35.29, 1.57, 54.12 | rgb(35.29, 1.57, 54.12) |
CMYK | 35, 97, 0, 46 | |
HSL | 278.5°, 94.37, 27.8 | hsl(278.5, 94.37%, 27.8%) |
HSV | 278.5°, 97.1, 54.1 |
XYZ | 8.847, 4.095, 24.369 |
---|---|
Hunter Lab | 20.236, 42.625, -57.234 |
CIE-LAB | 23.983, 54.257, -52.493 |
CIE-LCH | 23.983, 75.494, 315.947 |
CIE-LUV | 34.78, 97.1, 0, 45.88 |
Web Safe | 660099 |
RGB percent of color #5a048a
CMYK percent of color #5a048a
Text with hexadecimal color #5a048a
This text has a font color of #5a048a
<p style="color:#5a048a">Text here</p>
#5a048a Background Color
This box has a background color of #5a048a
<div style="background-color:#5a048a">Text here</div>
#5a048a Border Color
This box has a border color of #5a048a
<div style="border: 4px solid #5a048a">Text here</div>
CSS codes
<p style="color:#5a048a">Text here</p>
<div style="background-color:#5a048a">Text here</div>
<div style="border: 4px solid #5a048a">Text here</div>
#5a048a Color on white background
This is how a font and box color of #5a048a will look
on a white background.
#5a048a Color on black background
This is how a font and box color of #5a048a hex color will look
on a black background.