In RGB color space, #5a2f7b hex color has a red value of 90, a green value of 47 and a blue value of 123.
In CMYK color space (used in color printing), #5a2f7b hex color is composed of 26.83% cyan, 61.79% magenta, 0% yellow and 51.76% black.
#5a2f7b color has a hue of 273.9 degrees, a saturation of 44.71% and a lightness of 33.3%.
#5a2f7b hex color contains mainly BLUE.
The closest web safe color of #5a2f7b is #663366
#5a2f7b hex color has a decimal value of 5910395.
HEX | 5a2f7b | #5a2f7b |
---|---|---|
RGB | 90, 47, 123 | rgb(90, 47, 123) |
RGB Percent | 35.29, 18.43, 48.24 | rgb(35.29, 18.43, 48.24) |
CMYK | 27, 62, 0, 52 | |
HSL | 273.9°, 44.71, 33.3 | hsl(273.9, 44.71%, 33.3%) |
HSV | 273.9°, 61.8, 48.2 |
XYZ | 8.808, 5.637, 19.363 |
---|---|
Hunter Lab | 23.742, 24.671, -31.734 |
CIE-LAB | 28.478, 34.551, -35.784 |
CIE-LCH | 28.478, 49.742, 313.996 |
CIE-LUV | 26.83, 61.79, 0, 51.76 |
Web Safe | 663366 |
RGB percent of color #5a2f7b
CMYK percent of color #5a2f7b
Text with hexadecimal color #5a2f7b
This text has a font color of #5a2f7b
<p style="color:#5a2f7b">Text here</p>
#5a2f7b Background Color
This box has a background color of #5a2f7b
<div style="background-color:#5a2f7b">Text here</div>
#5a2f7b Border Color
This box has a border color of #5a2f7b
<div style="border: 4px solid #5a2f7b">Text here</div>
CSS codes
<p style="color:#5a2f7b">Text here</p>
<div style="background-color:#5a2f7b">Text here</div>
<div style="border: 4px solid #5a2f7b">Text here</div>
#5a2f7b Color on white background
This is how a font and box color of #5a2f7b will look
on a white background.
#5a2f7b Color on black background
This is how a font and box color of #5a2f7b hex color will look
on a black background.