In RGB color space, #5f04b1 hex color has a red value of 95, a green value of 4 and a blue value of 177.
In CMYK color space (used in color printing), #5f04b1 hex color is composed of 46.33% cyan, 97.74% magenta, 0% yellow and 30.59% black.
#5f04b1 color has a hue of 271.6 degrees, a saturation of 95.58% and a lightness of 35.5%.
#5f04b1 hex color contains mainly BLUE.
The closest web safe color of #5f04b1 is #660099
#5f04b1 hex color has a decimal value of 6227121.
HEX | 5f04b1 | #5f04b1 |
---|---|---|
RGB | 95, 4, 177 | rgb(95, 4, 177) |
RGB Percent | 37.25, 1.57, 69.41 | rgb(37.25, 1.57, 69.41) |
CMYK | 46, 98, 0, 31 | |
HSL | 271.6°, 95.58, 35.5 | hsl(271.6, 95.58%, 35.5%) |
HSV | 271.6°, 97.7, 69.4 |
XYZ | 12.699, 5.694, 42.025 |
---|---|
Hunter Lab | 23.862, 53.236, -87.716 |
CIE-LAB | 28.627, 63.254, -68.674 |
CIE-LCH | 28.627, 93.366, 312.647 |
CIE-LUV | 46.33, 97.74, 0, 30.59 |
Web Safe | 660099 |
RGB percent of color #5f04b1
CMYK percent of color #5f04b1
Text with hexadecimal color #5f04b1
This text has a font color of #5f04b1
<p style="color:#5f04b1">Text here</p>
#5f04b1 Background Color
This box has a background color of #5f04b1
<div style="background-color:#5f04b1">Text here</div>
#5f04b1 Border Color
This box has a border color of #5f04b1
<div style="border: 4px solid #5f04b1">Text here</div>
CSS codes
<p style="color:#5f04b1">Text here</p>
<div style="background-color:#5f04b1">Text here</div>
<div style="border: 4px solid #5f04b1">Text here</div>
#5f04b1 Color on white background
This is how a font and box color of #5f04b1 will look
on a white background.
#5f04b1 Color on black background
This is how a font and box color of #5f04b1 hex color will look
on a black background.