In RGB color space, #5f2fa2 hex color has a red value of 95, a green value of 47 and a blue value of 162.
In CMYK color space (used in color printing), #5f2fa2 hex color is composed of 41.36% cyan, 70.99% magenta, 0% yellow and 36.47% black.
#5f2fa2 color has a hue of 265 degrees, a saturation of 55.02% and a lightness of 41%.
#5f2fa2 hex color contains mainly BLUE.
The closest web safe color of #5f2fa2 is #663399
#5f2fa2 hex color has a decimal value of 6238114.
HEX | 5f2fa2 | #5f2fa2 |
---|---|---|
RGB | 95, 47, 162 | rgb(95, 47, 162) |
RGB Percent | 37.25, 18.43, 63.53 | rgb(37.25, 18.43, 63.53) |
CMYK | 41, 71, 0, 36 | |
HSL | 265°, 55.02, 41 | hsl(265, 55.02%, 41%) |
HSV | 265°, 71, 63.5 |
XYZ | 12.257, 7.075, 34.902 |
---|---|
Hunter Lab | 26.599, 35.706, -59.179 |
CIE-LAB | 31.977, 45.813, -54.157 |
CIE-LCH | 31.977, 70.935, 310.229 |
CIE-LUV | 41.36, 70.99, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #5f2fa2
CMYK percent of color #5f2fa2
Text with hexadecimal color #5f2fa2
This text has a font color of #5f2fa2
<p style="color:#5f2fa2">Text here</p>
#5f2fa2 Background Color
This box has a background color of #5f2fa2
<div style="background-color:#5f2fa2">Text here</div>
#5f2fa2 Border Color
This box has a border color of #5f2fa2
<div style="border: 4px solid #5f2fa2">Text here</div>
CSS codes
<p style="color:#5f2fa2">Text here</p>
<div style="background-color:#5f2fa2">Text here</div>
<div style="border: 4px solid #5f2fa2">Text here</div>
#5f2fa2 Color on white background
This is how a font and box color of #5f2fa2 will look
on a white background.
#5f2fa2 Color on black background
This is how a font and box color of #5f2fa2 hex color will look
on a black background.