In RGB color space, #5a228a hex color has a red value of 90, a green value of 34 and a blue value of 138.
In CMYK color space (used in color printing), #5a228a hex color is composed of 34.78% cyan, 75.36% magenta, 0% yellow and 45.88% black.
#5a228a color has a hue of 272.3 degrees, a saturation of 60.47% and a lightness of 33.7%.
#5a228a hex color contains mainly BLUE.
The closest web safe color of #5a228a is #663399
#5a228a hex color has a decimal value of 5907082.
HEX | 5a228a | #5a228a |
---|---|---|
RGB | 90, 34, 138 | rgb(90, 34, 138) |
RGB Percent | 35.29, 13.33, 54.12 | rgb(35.29, 13.33, 54.12) |
CMYK | 35, 75, 0, 46 | |
HSL | 272.3°, 60.47, 33.7 | hsl(272.3, 60.47%, 33.7%) |
HSV | 272.3°, 75.4, 54.1 |
XYZ | 9.376, 5.153, 24.545 |
---|---|
Hunter Lab | 22.7, 34.001, -48.218 |
CIE-LAB | 27.166, 44.966, -47.296 |
CIE-LCH | 27.166, 65.26, 313.553 |
CIE-LUV | 34.78, 75.36, 0, 45.88 |
Web Safe | 663399 |
RGB percent of color #5a228a
CMYK percent of color #5a228a
Text with hexadecimal color #5a228a
This text has a font color of #5a228a
<p style="color:#5a228a">Text here</p>
#5a228a Background Color
This box has a background color of #5a228a
<div style="background-color:#5a228a">Text here</div>
#5a228a Border Color
This box has a border color of #5a228a
<div style="border: 4px solid #5a228a">Text here</div>
CSS codes
<p style="color:#5a228a">Text here</p>
<div style="background-color:#5a228a">Text here</div>
<div style="border: 4px solid #5a228a">Text here</div>
#5a228a Color on white background
This is how a font and box color of #5a228a will look
on a white background.
#5a228a Color on black background
This is how a font and box color of #5a228a hex color will look
on a black background.