In RGB color space, #5a229c hex color has a red value of 90, a green value of 34 and a blue value of 156.
In CMYK color space (used in color printing), #5a229c hex color is composed of 42.31% cyan, 78.21% magenta, 0% yellow and 38.82% black.
#5a229c color has a hue of 267.5 degrees, a saturation of 64.21% and a lightness of 37.3%.
#5a229c hex color contains mainly BLUE.
The closest web safe color of #5a229c is #663399
#5a229c hex color has a decimal value of 5907100.
HEX | 5a229c | #5a229c |
---|---|---|
RGB | 90, 34, 156 | rgb(90, 34, 156) |
RGB Percent | 35.29, 13.33, 61.18 | rgb(35.29, 13.33, 61.18) |
CMYK | 42, 78, 0, 39 | |
HSL | 267.5°, 64.21, 37.3 | hsl(267.5, 64.21%, 37.3%) |
HSV | 267.5°, 78.2, 61.2 |
XYZ | 10.789, 5.718, 31.988 |
---|---|
Hunter Lab | 23.912, 38.691, -62.575 |
CIE-LAB | 28.69, 49.467, -55.904 |
CIE-LCH | 28.69, 74.647, 311.504 |
CIE-LUV | 42.31, 78.21, 0, 38.82 |
Web Safe | 663399 |
RGB percent of color #5a229c
CMYK percent of color #5a229c
Text with hexadecimal color #5a229c
This text has a font color of #5a229c
<p style="color:#5a229c">Text here</p>
#5a229c Background Color
This box has a background color of #5a229c
<div style="background-color:#5a229c">Text here</div>
#5a229c Border Color
This box has a border color of #5a229c
<div style="border: 4px solid #5a229c">Text here</div>
CSS codes
<p style="color:#5a229c">Text here</p>
<div style="background-color:#5a229c">Text here</div>
<div style="border: 4px solid #5a229c">Text here</div>
#5a229c Color on white background
This is how a font and box color of #5a229c will look
on a white background.
#5a229c Color on black background
This is how a font and box color of #5a229c hex color will look
on a black background.