In RGB color space, #5f1b8b hex color has a red value of 95, a green value of 27 and a blue value of 139.
In CMYK color space (used in color printing), #5f1b8b hex color is composed of 31.65% cyan, 80.58% magenta, 0% yellow and 45.49% black.
#5f1b8b color has a hue of 276.4 degrees, a saturation of 67.47% and a lightness of 32.5%.
#5f1b8b hex color contains mainly BLUE.
The closest web safe color of #5f1b8b is #663399
#5f1b8b hex color has a decimal value of 6232971.
HEX | 5f1b8b | #5f1b8b |
---|---|---|
RGB | 95, 27, 139 | rgb(95, 27, 139) |
RGB Percent | 37.25, 10.59, 54.51 | rgb(37.25, 10.59, 54.51) |
CMYK | 32, 81, 0, 45 | |
HSL | 276.4°, 67.47, 32.5 | hsl(276.4, 67.47%, 32.5%) |
HSV | 276.4°, 80.6, 54.5 |
XYZ | 9.771, 5.081, 24.892 |
---|---|
Hunter Lab | 22.541, 37.928, -49.695 |
CIE-LAB | 26.964, 49.036, -48.215 |
CIE-LCH | 26.964, 68.769, 315.484 |
CIE-LUV | 31.65, 80.58, 0, 45.49 |
Web Safe | 663399 |
RGB percent of color #5f1b8b
CMYK percent of color #5f1b8b
Text with hexadecimal color #5f1b8b
This text has a font color of #5f1b8b
<p style="color:#5f1b8b">Text here</p>
#5f1b8b Background Color
This box has a background color of #5f1b8b
<div style="background-color:#5f1b8b">Text here</div>
#5f1b8b Border Color
This box has a border color of #5f1b8b
<div style="border: 4px solid #5f1b8b">Text here</div>
CSS codes
<p style="color:#5f1b8b">Text here</p>
<div style="background-color:#5f1b8b">Text here</div>
<div style="border: 4px solid #5f1b8b">Text here</div>
#5f1b8b Color on white background
This is how a font and box color of #5f1b8b will look
on a white background.
#5f1b8b Color on black background
This is how a font and box color of #5f1b8b hex color will look
on a black background.