In RGB color space, #5f3797 hex color has a red value of 95, a green value of 55 and a blue value of 151.
In CMYK color space (used in color printing), #5f3797 hex color is composed of 37.09% cyan, 63.58% magenta, 0% yellow and 40.78% black.
#5f3797 color has a hue of 265 degrees, a saturation of 46.6% and a lightness of 40.4%.
#5f3797 hex color contains mainly BLUE.
The closest web safe color of #5f3797 is #663399
#5f3797 hex color has a decimal value of 6240151.
HEX | 5f3797 | #5f3797 |
---|---|---|
RGB | 95, 55, 151 | rgb(95, 55, 151) |
RGB Percent | 37.25, 21.57, 59.22 | rgb(37.25, 21.57, 59.22) |
CMYK | 37, 64, 0, 41 | |
HSL | 265°, 46.6, 40.4 | hsl(265, 46.6%, 40.4%) |
HSV | 265°, 63.6, 59.2 |
XYZ | 11.671, 7.4, 30.091 |
---|---|
Hunter Lab | 27.203, 28.978, -46.543 |
CIE-LAB | 32.701, 38.602, -46.307 |
CIE-LCH | 32.701, 60.286, 309.815 |
CIE-LUV | 37.09, 63.58, 0, 40.78 |
Web Safe | 663399 |
RGB percent of color #5f3797
CMYK percent of color #5f3797
Text with hexadecimal color #5f3797
This text has a font color of #5f3797
<p style="color:#5f3797">Text here</p>
#5f3797 Background Color
This box has a background color of #5f3797
<div style="background-color:#5f3797">Text here</div>
#5f3797 Border Color
This box has a border color of #5f3797
<div style="border: 4px solid #5f3797">Text here</div>
CSS codes
<p style="color:#5f3797">Text here</p>
<div style="background-color:#5f3797">Text here</div>
<div style="border: 4px solid #5f3797">Text here</div>
#5f3797 Color on white background
This is how a font and box color of #5f3797 will look
on a white background.
#5f3797 Color on black background
This is how a font and box color of #5f3797 hex color will look
on a black background.