In RGB color space, #5f17a7 hex color has a red value of 95, a green value of 23 and a blue value of 167.
In CMYK color space (used in color printing), #5f17a7 hex color is composed of 43.11% cyan, 86.23% magenta, 0% yellow and 34.51% black.
#5f17a7 color has a hue of 270 degrees, a saturation of 75.79% and a lightness of 37.3%.
#5f17a7 hex color contains mainly BLUE.
The closest web safe color of #5f17a7 is #660099
#5f17a7 hex color has a decimal value of 6231975.
HEX | 5f17a7 | #5f17a7 |
---|---|---|
RGB | 95, 23, 167 | rgb(95, 23, 167) |
RGB Percent | 37.25, 9.02, 65.49 | rgb(37.25, 9.02, 65.49) |
CMYK | 43, 86, 0, 35 | |
HSL | 270°, 75.79, 37.3 | hsl(270, 75.79%, 37.3%) |
HSV | 270°, 86.2, 65.5 |
XYZ | 12.001, 5.836, 37.053 |
---|---|
Hunter Lab | 24.158, 46.398, -74.028 |
CIE-LAB | 28.995, 56.896, -62.054 |
CIE-LCH | 28.995, 84.189, 312.517 |
CIE-LUV | 43.11, 86.23, 0, 34.51 |
Web Safe | 660099 |
RGB percent of color #5f17a7
CMYK percent of color #5f17a7
Text with hexadecimal color #5f17a7
This text has a font color of #5f17a7
<p style="color:#5f17a7">Text here</p>
#5f17a7 Background Color
This box has a background color of #5f17a7
<div style="background-color:#5f17a7">Text here</div>
#5f17a7 Border Color
This box has a border color of #5f17a7
<div style="border: 4px solid #5f17a7">Text here</div>
CSS codes
<p style="color:#5f17a7">Text here</p>
<div style="background-color:#5f17a7">Text here</div>
<div style="border: 4px solid #5f17a7">Text here</div>
#5f17a7 Color on white background
This is how a font and box color of #5f17a7 will look
on a white background.
#5f17a7 Color on black background
This is how a font and box color of #5f17a7 hex color will look
on a black background.