In RGB color space, #5f1b9b hex color has a red value of 95, a green value of 27 and a blue value of 155.
In CMYK color space (used in color printing), #5f1b9b hex color is composed of 38.71% cyan, 82.58% magenta, 0% yellow and 39.22% black.
#5f1b9b color has a hue of 271.9 degrees, a saturation of 70.33% and a lightness of 35.7%.
#5f1b9b hex color contains mainly BLUE.
The closest web safe color of #5f1b9b is #663399
#5f1b9b hex color has a decimal value of 6232987.
HEX | 5f1b9b | #5f1b9b |
---|---|---|
RGB | 95, 27, 155 | rgb(95, 27, 155) |
RGB Percent | 37.25, 10.59, 60.78 | rgb(37.25, 10.59, 60.78) |
CMYK | 39, 83, 0, 39 | |
HSL | 271.9°, 70.33, 35.7 | hsl(271.9, 70.33%, 35.7%) |
HSV | 271.9°, 82.6, 60.8 |
XYZ | 11.028, 5.583, 31.507 |
---|---|
Hunter Lab | 23.628, 41.961, -62.52 |
CIE-LAB | 28.335, 52.769, -55.846 |
CIE-LCH | 28.335, 76.833, 313.377 |
CIE-LUV | 38.71, 82.58, 0, 39.22 |
Web Safe | 663399 |
RGB percent of color #5f1b9b
CMYK percent of color #5f1b9b
Text with hexadecimal color #5f1b9b
This text has a font color of #5f1b9b
<p style="color:#5f1b9b">Text here</p>
#5f1b9b Background Color
This box has a background color of #5f1b9b
<div style="background-color:#5f1b9b">Text here</div>
#5f1b9b Border Color
This box has a border color of #5f1b9b
<div style="border: 4px solid #5f1b9b">Text here</div>
CSS codes
<p style="color:#5f1b9b">Text here</p>
<div style="background-color:#5f1b9b">Text here</div>
<div style="border: 4px solid #5f1b9b">Text here</div>
#5f1b9b Color on white background
This is how a font and box color of #5f1b9b will look
on a white background.
#5f1b9b Color on black background
This is how a font and box color of #5f1b9b hex color will look
on a black background.