In RGB color space, #5f2e8a hex color has a red value of 95, a green value of 46 and a blue value of 138.
In CMYK color space (used in color printing), #5f2e8a hex color is composed of 31.16% cyan, 66.67% magenta, 0% yellow and 45.88% black.
#5f2e8a color has a hue of 272 degrees, a saturation of 50% and a lightness of 36.1%.
#5f2e8a hex color contains mainly BLUE.
The closest web safe color of #5f2e8a is #663399
#5f2e8a hex color has a decimal value of 6237834.
HEX | 5f2e8a | #5f2e8a |
---|---|---|
RGB | 95, 46, 138 | rgb(95, 46, 138) |
RGB Percent | 37.25, 18.04, 54.12 | rgb(37.25, 18.04, 54.12) |
CMYK | 31, 67, 0, 46 | |
HSL | 272°, 50, 36.1 | hsl(272, 50%, 36.1%) |
HSV | 272°, 66.7, 54.1 |
XYZ | 10.284, 6.222, 24.704 |
---|---|
Hunter Lab | 24.944, 29.941, -41.259 |
CIE-LAB | 29.966, 40.128, -42.732 |
CIE-LCH | 29.966, 58.62, 313.2 |
CIE-LUV | 31.16, 66.67, 0, 45.88 |
Web Safe | 663399 |
RGB percent of color #5f2e8a
CMYK percent of color #5f2e8a
Text with hexadecimal color #5f2e8a
This text has a font color of #5f2e8a
<p style="color:#5f2e8a">Text here</p>
#5f2e8a Background Color
This box has a background color of #5f2e8a
<div style="background-color:#5f2e8a">Text here</div>
#5f2e8a Border Color
This box has a border color of #5f2e8a
<div style="border: 4px solid #5f2e8a">Text here</div>
CSS codes
<p style="color:#5f2e8a">Text here</p>
<div style="background-color:#5f2e8a">Text here</div>
<div style="border: 4px solid #5f2e8a">Text here</div>
#5f2e8a Color on white background
This is how a font and box color of #5f2e8a will look
on a white background.
#5f2e8a Color on black background
This is how a font and box color of #5f2e8a hex color will look
on a black background.