In RGB color space, #5a2f7a hex color has a red value of 90, a green value of 47 and a blue value of 122.
In CMYK color space (used in color printing), #5a2f7a hex color is composed of 26.23% cyan, 61.48% magenta, 0% yellow and 52.16% black.
#5a2f7a color has a hue of 274.4 degrees, a saturation of 44.38% and a lightness of 33.1%.
#5a2f7a hex color contains mainly BLUE.
The closest web safe color of #5a2f7a is #663366
#5a2f7a hex color has a decimal value of 5910394.
HEX | 5a2f7a | #5a2f7a |
---|---|---|
RGB | 90, 47, 122 | rgb(90, 47, 122) |
RGB Percent | 35.29, 18.43, 47.84 | rgb(35.29, 18.43, 47.84) |
CMYK | 26, 61, 0, 52 | |
HSL | 274.4°, 44.38, 33.1 | hsl(274.4, 44.38%, 33.1%) |
HSV | 274.4°, 61.5, 47.8 |
XYZ | 8.746, 5.612, 19.035 |
---|---|
Hunter Lab | 23.69, 24.444, -31.058 |
CIE-LAB | 28.412, 34.303, -35.259 |
CIE-LCH | 28.412, 49.192, 314.213 |
CIE-LUV | 26.23, 61.48, 0, 52.16 |
Web Safe | 663366 |
RGB percent of color #5a2f7a
CMYK percent of color #5a2f7a
Text with hexadecimal color #5a2f7a
This text has a font color of #5a2f7a
<p style="color:#5a2f7a">Text here</p>
#5a2f7a Background Color
This box has a background color of #5a2f7a
<div style="background-color:#5a2f7a">Text here</div>
#5a2f7a Border Color
This box has a border color of #5a2f7a
<div style="border: 4px solid #5a2f7a">Text here</div>
CSS codes
<p style="color:#5a2f7a">Text here</p>
<div style="background-color:#5a2f7a">Text here</div>
<div style="border: 4px solid #5a2f7a">Text here</div>
#5a2f7a Color on white background
This is how a font and box color of #5a2f7a will look
on a white background.
#5a2f7a Color on black background
This is how a font and box color of #5a2f7a hex color will look
on a black background.