In RGB color space, #5f2c9c hex color has a red value of 95, a green value of 44 and a blue value of 156.
In CMYK color space (used in color printing), #5f2c9c hex color is composed of 39.1% cyan, 71.79% magenta, 0% yellow and 38.82% black.
#5f2c9c color has a hue of 267.3 degrees, a saturation of 56% and a lightness of 39.2%.
#5f2c9c hex color contains mainly BLUE.
The closest web safe color of #5f2c9c is #663399
#5f2c9c hex color has a decimal value of 6237340.
HEX | 5f2c9c | #5f2c9c |
---|---|---|
RGB | 95, 44, 156 | rgb(95, 44, 156) |
RGB Percent | 37.25, 17.25, 61.18 | rgb(37.25, 17.25, 61.18) |
CMYK | 39, 72, 0, 39 | |
HSL | 267.3°, 56, 39.2 | hsl(267.3, 56%, 39.2%) |
HSV | 267.3°, 71.8, 61.2 |
XYZ | 11.621, 6.635, 32.121 |
---|---|
Hunter Lab | 25.758, 35.453, -55.904 |
CIE-LAB | 30.961, 45.745, -52.172 |
CIE-LCH | 30.961, 69.387, 311.245 |
CIE-LUV | 39.1, 71.79, 0, 38.82 |
Web Safe | 663399 |
RGB percent of color #5f2c9c
CMYK percent of color #5f2c9c
Text with hexadecimal color #5f2c9c
This text has a font color of #5f2c9c
<p style="color:#5f2c9c">Text here</p>
#5f2c9c Background Color
This box has a background color of #5f2c9c
<div style="background-color:#5f2c9c">Text here</div>
#5f2c9c Border Color
This box has a border color of #5f2c9c
<div style="border: 4px solid #5f2c9c">Text here</div>
CSS codes
<p style="color:#5f2c9c">Text here</p>
<div style="background-color:#5f2c9c">Text here</div>
<div style="border: 4px solid #5f2c9c">Text here</div>
#5f2c9c Color on white background
This is how a font and box color of #5f2c9c will look
on a white background.
#5f2c9c Color on black background
This is how a font and box color of #5f2c9c hex color will look
on a black background.