In RGB color space, #5f1178 hex color has a red value of 95, a green value of 17 and a blue value of 120.
In CMYK color space (used in color printing), #5f1178 hex color is composed of 20.83% cyan, 85.83% magenta, 0% yellow and 52.94% black.
#5f1178 color has a hue of 285.4 degrees, a saturation of 75.18% and a lightness of 26.9%.
#5f1178 hex color contains mainly BLUE.
The closest web safe color of #5f1178 is #660066
#5f1178 hex color has a decimal value of 6230392.
HEX | 5f1178 | #5f1178 |
---|---|---|
RGB | 95, 17, 120 | rgb(95, 17, 120) |
RGB Percent | 37.25, 6.67, 47.06 | rgb(37.25, 6.67, 47.06) |
CMYK | 21, 86, 0, 53 | |
HSL | 285.4°, 75.18, 26.9 | hsl(285.4, 75.18%, 26.9%) |
HSV | 285.4°, 85.8, 47.1 |
XYZ | 8.31, 4.19, 18.14 |
---|---|
Hunter Lab | 20.469, 36.644, -38.214 |
CIE-LAB | 24.29, 48.254, -40.584 |
CIE-LCH | 24.29, 63.052, 319.935 |
CIE-LUV | 20.83, 85.83, 0, 52.94 |
Web Safe | 660066 |
RGB percent of color #5f1178
CMYK percent of color #5f1178
Text with hexadecimal color #5f1178
This text has a font color of #5f1178
<p style="color:#5f1178">Text here</p>
#5f1178 Background Color
This box has a background color of #5f1178
<div style="background-color:#5f1178">Text here</div>
#5f1178 Border Color
This box has a border color of #5f1178
<div style="border: 4px solid #5f1178">Text here</div>
CSS codes
<p style="color:#5f1178">Text here</p>
<div style="background-color:#5f1178">Text here</div>
<div style="border: 4px solid #5f1178">Text here</div>
#5f1178 Color on white background
This is how a font and box color of #5f1178 will look
on a white background.
#5f1178 Color on black background
This is how a font and box color of #5f1178 hex color will look
on a black background.