In RGB color space, #5a2f8a hex color has a red value of 90, a green value of 47 and a blue value of 138.
In CMYK color space (used in color printing), #5a2f8a hex color is composed of 34.78% cyan, 65.94% magenta, 0% yellow and 45.88% black.
#5a2f8a color has a hue of 268.4 degrees, a saturation of 49.19% and a lightness of 36.3%.
#5a2f8a hex color contains mainly BLUE.
The closest web safe color of #5a2f8a is #663399
#5a2f8a hex color has a decimal value of 5910410.
HEX | 5a2f8a | #5a2f8a |
---|---|---|
RGB | 90, 47, 138 | rgb(90, 47, 138) |
RGB Percent | 35.29, 18.43, 54.12 | rgb(35.29, 18.43, 54.12) |
CMYK | 35, 66, 0, 46 | |
HSL | 268.4°, 49.19, 36.3 | hsl(268.4, 49.19%, 36.3%) |
HSV | 268.4°, 65.9, 54.1 |
XYZ | 9.82, 6.042, 24.693 |
---|---|
Hunter Lab | 24.58, 28.296, -42.355 |
CIE-LAB | 29.518, 38.419, -43.485 |
CIE-LCH | 29.518, 58.026, 311.461 |
CIE-LUV | 34.78, 65.94, 0, 45.88 |
Web Safe | 663399 |
RGB percent of color #5a2f8a
CMYK percent of color #5a2f8a
Text with hexadecimal color #5a2f8a
This text has a font color of #5a2f8a
<p style="color:#5a2f8a">Text here</p>
#5a2f8a Background Color
This box has a background color of #5a2f8a
<div style="background-color:#5a2f8a">Text here</div>
#5a2f8a Border Color
This box has a border color of #5a2f8a
<div style="border: 4px solid #5a2f8a">Text here</div>
CSS codes
<p style="color:#5a2f8a">Text here</p>
<div style="background-color:#5a2f8a">Text here</div>
<div style="border: 4px solid #5a2f8a">Text here</div>
#5a2f8a Color on white background
This is how a font and box color of #5a2f8a will look
on a white background.
#5a2f8a Color on black background
This is how a font and box color of #5a2f8a hex color will look
on a black background.