In RGB color space, #5f02a1 hex color has a red value of 95, a green value of 2 and a blue value of 161.
In CMYK color space (used in color printing), #5f02a1 hex color is composed of 40.99% cyan, 98.76% magenta, 0% yellow and 36.86% black.
#5f02a1 color has a hue of 275.1 degrees, a saturation of 97.55% and a lightness of 32%.
#5f02a1 hex color contains mainly BLUE.
The closest web safe color of #5f02a1 is #660099
#5f02a1 hex color has a decimal value of 6226593.
HEX | 5f02a1 | #5f02a1 |
---|---|---|
RGB | 95, 2, 161 | rgb(95, 2, 161) |
RGB Percent | 37.25, 0.78, 63.14 | rgb(37.25, 0.78, 63.14) |
CMYK | 41, 99, 0, 37 | |
HSL | 275.1°, 97.55, 32 | hsl(275.1, 97.55%, 32%) |
HSV | 275.1°, 98.8, 63.1 |
XYZ | 11.174, 5.05, 34.104 |
---|---|
Hunter Lab | 22.472, 49.43, -74.248 |
CIE-LAB | 26.877, 60.127, -61.899 |
CIE-LCH | 26.877, 86.295, 314.168 |
CIE-LUV | 40.99, 98.76, 0, 36.86 |
Web Safe | 660099 |
RGB percent of color #5f02a1
CMYK percent of color #5f02a1
Text with hexadecimal color #5f02a1
This text has a font color of #5f02a1
<p style="color:#5f02a1">Text here</p>
#5f02a1 Background Color
This box has a background color of #5f02a1
<div style="background-color:#5f02a1">Text here</div>
#5f02a1 Border Color
This box has a border color of #5f02a1
<div style="border: 4px solid #5f02a1">Text here</div>
CSS codes
<p style="color:#5f02a1">Text here</p>
<div style="background-color:#5f02a1">Text here</div>
<div style="border: 4px solid #5f02a1">Text here</div>
#5f02a1 Color on white background
This is how a font and box color of #5f02a1 will look
on a white background.
#5f02a1 Color on black background
This is how a font and box color of #5f02a1 hex color will look
on a black background.