In RGB color space, #5f04b3 hex color has a red value of 95, a green value of 4 and a blue value of 179.
In CMYK color space (used in color printing), #5f04b3 hex color is composed of 46.93% cyan, 97.77% magenta, 0% yellow and 29.8% black.
#5f04b3 color has a hue of 271.2 degrees, a saturation of 95.63% and a lightness of 35.9%.
#5f04b3 hex color contains mainly BLUE.
The closest web safe color of #5f04b3 is #6600cc
#5f04b3 hex color has a decimal value of 6227123.
HEX | 5f04b3 | #5f04b3 |
---|---|---|
RGB | 95, 4, 179 | rgb(95, 4, 179) |
RGB Percent | 37.25, 1.57, 70.2 | rgb(37.25, 1.57, 70.2) |
CMYK | 47, 98, 0, 30 | |
HSL | 271.2°, 95.63, 35.9 | hsl(271.2, 95.63%, 35.9%) |
HSV | 271.2°, 97.8, 70.2 |
XYZ | 12.899, 5.774, 43.083 |
---|---|
Hunter Lab | 24.029, 53.769, -89.483 |
CIE-LAB | 28.835, 63.692, -69.527 |
CIE-LCH | 28.835, 94.29, 312.492 |
CIE-LUV | 46.93, 97.77, 0, 29.8 |
Web Safe | 6600cc |
RGB percent of color #5f04b3
CMYK percent of color #5f04b3
Text with hexadecimal color #5f04b3
This text has a font color of #5f04b3
<p style="color:#5f04b3">Text here</p>
#5f04b3 Background Color
This box has a background color of #5f04b3
<div style="background-color:#5f04b3">Text here</div>
#5f04b3 Border Color
This box has a border color of #5f04b3
<div style="border: 4px solid #5f04b3">Text here</div>
CSS codes
<p style="color:#5f04b3">Text here</p>
<div style="background-color:#5f04b3">Text here</div>
<div style="border: 4px solid #5f04b3">Text here</div>
#5f04b3 Color on white background
This is how a font and box color of #5f04b3 will look
on a white background.
#5f04b3 Color on black background
This is how a font and box color of #5f04b3 hex color will look
on a black background.