In RGB color space, #5f04d1 hex color has a red value of 95, a green value of 4 and a blue value of 209.
In CMYK color space (used in color printing), #5f04d1 hex color is composed of 54.55% cyan, 98.09% magenta, 0% yellow and 18.04% black.
#5f04d1 color has a hue of 266.6 degrees, a saturation of 96.24% and a lightness of 41.8%.
#5f04d1 hex color contains mainly BLUE.
The closest web safe color of #5f04d1 is #6600cc
#5f04d1 hex color has a decimal value of 6227153.
HEX | 5f04d1 | #5f04d1 |
---|---|---|
RGB | 95, 4, 209 | rgb(95, 4, 209) |
RGB Percent | 37.25, 1.57, 81.96 | rgb(37.25, 1.57, 81.96) |
CMYK | 55, 98, 0, 18 | |
HSL | 266.6°, 96.24, 41.8 | hsl(266.6, 96.24%, 41.8%) |
HSV | 266.6°, 98.1, 82 |
XYZ | 16.271, 7.123, 60.839 |
---|---|
Hunter Lab | 26.689, 62.117, -116.473 |
CIE-LAB | 32.085, 70.363, -81.824 |
CIE-LCH | 32.085, 107.917, 310.693 |
CIE-LUV | 54.55, 98.09, 0, 18.04 |
Web Safe | 6600cc |
RGB percent of color #5f04d1
CMYK percent of color #5f04d1
Text with hexadecimal color #5f04d1
This text has a font color of #5f04d1
<p style="color:#5f04d1">Text here</p>
#5f04d1 Background Color
This box has a background color of #5f04d1
<div style="background-color:#5f04d1">Text here</div>
#5f04d1 Border Color
This box has a border color of #5f04d1
<div style="border: 4px solid #5f04d1">Text here</div>
CSS codes
<p style="color:#5f04d1">Text here</p>
<div style="background-color:#5f04d1">Text here</div>
<div style="border: 4px solid #5f04d1">Text here</div>
#5f04d1 Color on white background
This is how a font and box color of #5f04d1 will look
on a white background.
#5f04d1 Color on black background
This is how a font and box color of #5f04d1 hex color will look
on a black background.