In RGB color space, #5a2f6b hex color has a red value of 90, a green value of 47 and a blue value of 107.
In CMYK color space (used in color printing), #5a2f6b hex color is composed of 15.89% cyan, 56.07% magenta, 0% yellow and 58.04% black.
#5a2f6b color has a hue of 283 degrees, a saturation of 38.96% and a lightness of 30.2%.
#5a2f6b hex color contains mainly BLUE.
The closest web safe color of #5a2f6b is #663366
#5a2f6b hex color has a decimal value of 5910379.
HEX | 5a2f6b | #5a2f6b |
---|---|---|
RGB | 90, 47, 107 | rgb(90, 47, 107) |
RGB Percent | 35.29, 18.43, 41.96 | rgb(35.29, 18.43, 41.96) |
CMYK | 16, 56, 0, 58 | |
HSL | 283°, 38.96, 30.2 | hsl(283, 38.96%, 30.2%) |
HSV | 283°, 56.1, 42 |
XYZ | 7.887, 5.268, 14.511 |
---|---|
Hunter Lab | 22.952, 21.171, -21.418 |
CIE-LAB | 27.485, 30.65, -27.185 |
CIE-LCH | 27.485, 40.969, 318.429 |
CIE-LUV | 15.89, 56.07, 0, 58.04 |
Web Safe | 663366 |
RGB percent of color #5a2f6b
CMYK percent of color #5a2f6b
Text with hexadecimal color #5a2f6b
This text has a font color of #5a2f6b
<p style="color:#5a2f6b">Text here</p>
#5a2f6b Background Color
This box has a background color of #5a2f6b
<div style="background-color:#5a2f6b">Text here</div>
#5a2f6b Border Color
This box has a border color of #5a2f6b
<div style="border: 4px solid #5a2f6b">Text here</div>
CSS codes
<p style="color:#5a2f6b">Text here</p>
<div style="background-color:#5a2f6b">Text here</div>
<div style="border: 4px solid #5a2f6b">Text here</div>
#5a2f6b Color on white background
This is how a font and box color of #5a2f6b will look
on a white background.
#5a2f6b Color on black background
This is how a font and box color of #5a2f6b hex color will look
on a black background.