In RGB color space, #5a2f83 hex color has a red value of 90, a green value of 47 and a blue value of 131.
In CMYK color space (used in color printing), #5a2f83 hex color is composed of 31.3% cyan, 64.12% magenta, 0% yellow and 48.63% black.
#5a2f83 color has a hue of 270.7 degrees, a saturation of 47.19% and a lightness of 34.9%.
#5a2f83 hex color contains mainly BLUE.
The closest web safe color of #5a2f83 is #663399
#5a2f83 hex color has a decimal value of 5910403.
HEX | 5a2f83 | #5a2f83 |
---|---|---|
RGB | 90, 47, 131 | rgb(90, 47, 131) |
RGB Percent | 35.29, 18.43, 51.37 | rgb(35.29, 18.43, 51.37) |
CMYK | 31, 64, 0, 49 | |
HSL | 270.7°, 47.19, 34.9 | hsl(270.7, 47.19%, 34.9%) |
HSV | 270.7°, 64.1, 51.4 |
XYZ | 9.33, 5.845, 22.109 |
---|---|
Hunter Lab | 24.176, 26.577, -37.296 |
CIE-LAB | 29.018, 36.606, -39.936 |
CIE-LCH | 29.018, 54.175, 312.509 |
CIE-LUV | 31.3, 64.12, 0, 48.63 |
Web Safe | 663399 |
RGB percent of color #5a2f83
CMYK percent of color #5a2f83
Text with hexadecimal color #5a2f83
This text has a font color of #5a2f83
<p style="color:#5a2f83">Text here</p>
#5a2f83 Background Color
This box has a background color of #5a2f83
<div style="background-color:#5a2f83">Text here</div>
#5a2f83 Border Color
This box has a border color of #5a2f83
<div style="border: 4px solid #5a2f83">Text here</div>
CSS codes
<p style="color:#5a2f83">Text here</p>
<div style="background-color:#5a2f83">Text here</div>
<div style="border: 4px solid #5a2f83">Text here</div>
#5a2f83 Color on white background
This is how a font and box color of #5a2f83 will look
on a white background.
#5a2f83 Color on black background
This is how a font and box color of #5a2f83 hex color will look
on a black background.