In RGB color space, #5f1a97 hex color has a red value of 95, a green value of 26 and a blue value of 151.
In CMYK color space (used in color printing), #5f1a97 hex color is composed of 37.09% cyan, 82.78% magenta, 0% yellow and 40.78% black.
#5f1a97 color has a hue of 273.1 degrees, a saturation of 70.62% and a lightness of 34.7%.
#5f1a97 hex color contains mainly BLUE.
The closest web safe color of #5f1a97 is #663399
#5f1a97 hex color has a decimal value of 6232727.
HEX | 5f1a97 | #5f1a97 |
---|---|---|
RGB | 95, 26, 151 | rgb(95, 26, 151) |
RGB Percent | 37.25, 10.2, 59.22 | rgb(37.25, 10.2, 59.22) |
CMYK | 37, 83, 0, 41 | |
HSL | 273.1°, 70.62, 34.7 | hsl(273.1, 70.62%, 34.7%) |
HSV | 273.1°, 82.8, 59.2 |
XYZ | 10.675, 5.406, 29.759 |
---|---|
Hunter Lab | 23.251, 41.265, -59.61 |
CIE-LAB | 27.861, 52.18, -54.169 |
CIE-LCH | 27.861, 75.213, 313.929 |
CIE-LUV | 37.09, 82.78, 0, 40.78 |
Web Safe | 663399 |
RGB percent of color #5f1a97
CMYK percent of color #5f1a97
Text with hexadecimal color #5f1a97
This text has a font color of #5f1a97
<p style="color:#5f1a97">Text here</p>
#5f1a97 Background Color
This box has a background color of #5f1a97
<div style="background-color:#5f1a97">Text here</div>
#5f1a97 Border Color
This box has a border color of #5f1a97
<div style="border: 4px solid #5f1a97">Text here</div>
CSS codes
<p style="color:#5f1a97">Text here</p>
<div style="background-color:#5f1a97">Text here</div>
<div style="border: 4px solid #5f1a97">Text here</div>
#5f1a97 Color on white background
This is how a font and box color of #5f1a97 will look
on a white background.
#5f1a97 Color on black background
This is how a font and box color of #5f1a97 hex color will look
on a black background.