In RGB color space, #5f1197 hex color has a red value of 95, a green value of 17 and a blue value of 151.
In CMYK color space (used in color printing), #5f1197 hex color is composed of 37.09% cyan, 88.74% magenta, 0% yellow and 40.78% black.
#5f1197 color has a hue of 274.9 degrees, a saturation of 79.76% and a lightness of 32.9%.
#5f1197 hex color contains mainly BLUE.
The closest web safe color of #5f1197 is #660099
#5f1197 hex color has a decimal value of 6230423.
HEX | 5f1197 | #5f1197 |
---|---|---|
RGB | 95, 17, 151 | rgb(95, 17, 151) |
RGB Percent | 37.25, 6.67, 59.22 | rgb(37.25, 6.67, 59.22) |
CMYK | 37, 89, 0, 41 | |
HSL | 274.9°, 79.76, 32.9 | hsl(274.9, 79.76%, 32.9%) |
HSV | 274.9°, 88.7, 59.2 |
XYZ | 10.506, 5.068, 29.703 |
---|---|
Hunter Lab | 22.512, 43.906, -62.47 |
CIE-LAB | 26.928, 54.926, -55.698 |
CIE-LCH | 26.928, 78.225, 314.6 |
CIE-LUV | 37.09, 88.74, 0, 40.78 |
Web Safe | 660099 |
RGB percent of color #5f1197
CMYK percent of color #5f1197
Text with hexadecimal color #5f1197
This text has a font color of #5f1197
<p style="color:#5f1197">Text here</p>
#5f1197 Background Color
This box has a background color of #5f1197
<div style="background-color:#5f1197">Text here</div>
#5f1197 Border Color
This box has a border color of #5f1197
<div style="border: 4px solid #5f1197">Text here</div>
CSS codes
<p style="color:#5f1197">Text here</p>
<div style="background-color:#5f1197">Text here</div>
<div style="border: 4px solid #5f1197">Text here</div>
#5f1197 Color on white background
This is how a font and box color of #5f1197 will look
on a white background.
#5f1197 Color on black background
This is how a font and box color of #5f1197 hex color will look
on a black background.