In RGB color space, #5a228e hex color has a red value of 90, a green value of 34 and a blue value of 142.
In CMYK color space (used in color printing), #5a228e hex color is composed of 36.62% cyan, 76.06% magenta, 0% yellow and 44.31% black.
#5a228e color has a hue of 271.1 degrees, a saturation of 61.36% and a lightness of 34.5%.
#5a228e hex color contains mainly BLUE.
The closest web safe color of #5a228e is #663399
#5a228e hex color has a decimal value of 5907086.
HEX | 5a228e | #5a228e |
---|---|---|
RGB | 90, 34, 142 | rgb(90, 34, 142) |
RGB Percent | 35.29, 13.33, 55.69 | rgb(35.29, 13.33, 55.69) |
CMYK | 37, 76, 0, 44 | |
HSL | 271.1°, 61.36, 34.5 | hsl(271.1, 61.36%, 34.5%) |
HSV | 271.1°, 76.1, 55.7 |
XYZ | 9.671, 5.271, 26.099 |
---|---|
Hunter Lab | 22.959, 35.013, -51.329 |
CIE-LAB | 27.493, 45.954, -49.249 |
CIE-LCH | 27.493, 67.359, 313.018 |
CIE-LUV | 36.62, 76.06, 0, 44.31 |
Web Safe | 663399 |
RGB percent of color #5a228e
CMYK percent of color #5a228e
Text with hexadecimal color #5a228e
This text has a font color of #5a228e
<p style="color:#5a228e">Text here</p>
#5a228e Background Color
This box has a background color of #5a228e
<div style="background-color:#5a228e">Text here</div>
#5a228e Border Color
This box has a border color of #5a228e
<div style="border: 4px solid #5a228e">Text here</div>
CSS codes
<p style="color:#5a228e">Text here</p>
<div style="background-color:#5a228e">Text here</div>
<div style="border: 4px solid #5a228e">Text here</div>
#5a228e Color on white background
This is how a font and box color of #5a228e will look
on a white background.
#5a228e Color on black background
This is how a font and box color of #5a228e hex color will look
on a black background.