In RGB color space, #5f288a hex color has a red value of 95, a green value of 40 and a blue value of 138.
In CMYK color space (used in color printing), #5f288a hex color is composed of 31.16% cyan, 71.01% magenta, 0% yellow and 45.88% black.
#5f288a color has a hue of 273.7 degrees, a saturation of 55.06% and a lightness of 34.9%.
#5f288a hex color contains mainly BLUE.
The closest web safe color of #5f288a is #663399
#5f288a hex color has a decimal value of 6236298.
HEX | 5f288a | #5f288a |
---|---|---|
RGB | 95, 40, 138 | rgb(95, 40, 138) |
RGB Percent | 37.25, 15.69, 54.12 | rgb(37.25, 15.69, 54.12) |
CMYK | 31, 71, 0, 46 | |
HSL | 273.7°, 55.06, 34.9 | hsl(273.7, 55.06%, 34.9%) |
HSV | 273.7°, 71, 54.1 |
XYZ | 10.066, 5.785, 24.631 |
---|---|
Hunter Lab | 24.052, 32.613, -43.881 |
CIE-LAB | 28.863, 43.184, -44.512 |
CIE-LCH | 28.863, 62.018, 314.132 |
CIE-LUV | 31.16, 71.01, 0, 45.88 |
Web Safe | 663399 |
RGB percent of color #5f288a
CMYK percent of color #5f288a
Text with hexadecimal color #5f288a
This text has a font color of #5f288a
<p style="color:#5f288a">Text here</p>
#5f288a Background Color
This box has a background color of #5f288a
<div style="background-color:#5f288a">Text here</div>
#5f288a Border Color
This box has a border color of #5f288a
<div style="border: 4px solid #5f288a">Text here</div>
CSS codes
<p style="color:#5f288a">Text here</p>
<div style="background-color:#5f288a">Text here</div>
<div style="border: 4px solid #5f288a">Text here</div>
#5f288a Color on white background
This is how a font and box color of #5f288a will look
on a white background.
#5f288a Color on black background
This is how a font and box color of #5f288a hex color will look
on a black background.