In RGB color space, #5a238a hex color has a red value of 90, a green value of 35 and a blue value of 138.
In CMYK color space (used in color printing), #5a238a hex color is composed of 34.78% cyan, 74.64% magenta, 0% yellow and 45.88% black.
#5a238a color has a hue of 272 degrees, a saturation of 59.54% and a lightness of 33.9%.
#5a238a hex color contains mainly BLUE.
The closest web safe color of #5a238a is #663399
#5a238a hex color has a decimal value of 5907338.
HEX | 5a238a | #5a238a |
---|---|---|
RGB | 90, 35, 138 | rgb(90, 35, 138) |
RGB Percent | 35.29, 13.73, 54.12 | rgb(35.29, 13.73, 54.12) |
CMYK | 35, 75, 0, 46 | |
HSL | 272°, 59.54, 33.9 | hsl(272, 59.54%, 33.9%) |
HSV | 272°, 74.6, 54.1 |
XYZ | 9.405, 5.211, 24.555 |
---|---|
Hunter Lab | 22.828, 33.594, -47.797 |
CIE-LAB | 27.328, 44.508, -47.034 |
CIE-LCH | 27.328, 64.755, 313.419 |
CIE-LUV | 34.78, 74.64, 0, 45.88 |
Web Safe | 663399 |
RGB percent of color #5a238a
CMYK percent of color #5a238a
Text with hexadecimal color #5a238a
This text has a font color of #5a238a
<p style="color:#5a238a">Text here</p>
#5a238a Background Color
This box has a background color of #5a238a
<div style="background-color:#5a238a">Text here</div>
#5a238a Border Color
This box has a border color of #5a238a
<div style="border: 4px solid #5a238a">Text here</div>
CSS codes
<p style="color:#5a238a">Text here</p>
<div style="background-color:#5a238a">Text here</div>
<div style="border: 4px solid #5a238a">Text here</div>
#5a238a Color on white background
This is how a font and box color of #5a238a will look
on a white background.
#5a238a Color on black background
This is how a font and box color of #5a238a hex color will look
on a black background.