In RGB color space, #5f30a1 hex color has a red value of 95, a green value of 48 and a blue value of 161.
In CMYK color space (used in color printing), #5f30a1 hex color is composed of 40.99% cyan, 70.19% magenta, 0% yellow and 36.86% black.
#5f30a1 color has a hue of 265 degrees, a saturation of 54.07% and a lightness of 41%.
#5f30a1 hex color contains mainly BLUE.
The closest web safe color of #5f30a1 is #663399
#5f30a1 hex color has a decimal value of 6238369.
HEX | 5f30a1 | #5f30a1 |
---|---|---|
RGB | 95, 48, 161 | rgb(95, 48, 161) |
RGB Percent | 37.25, 18.82, 63.14 | rgb(37.25, 18.82, 63.14) |
CMYK | 41, 70, 0, 37 | |
HSL | 265°, 54.07, 41 | hsl(265, 54.07%, 41%) |
HSV | 265°, 70.2, 63.1 |
XYZ | 12.209, 7.12, 34.449 |
---|---|
Hunter Lab | 26.683, 34.977, -57.867 |
CIE-LAB | 32.079, 45.046, -53.387 |
CIE-LCH | 32.079, 69.852, 310.156 |
CIE-LUV | 40.99, 70.19, 0, 36.86 |
Web Safe | 663399 |
RGB percent of color #5f30a1
CMYK percent of color #5f30a1
Text with hexadecimal color #5f30a1
This text has a font color of #5f30a1
<p style="color:#5f30a1">Text here</p>
#5f30a1 Background Color
This box has a background color of #5f30a1
<div style="background-color:#5f30a1">Text here</div>
#5f30a1 Border Color
This box has a border color of #5f30a1
<div style="border: 4px solid #5f30a1">Text here</div>
CSS codes
<p style="color:#5f30a1">Text here</p>
<div style="background-color:#5f30a1">Text here</div>
<div style="border: 4px solid #5f30a1">Text here</div>
#5f30a1 Color on white background
This is how a font and box color of #5f30a1 will look
on a white background.
#5f30a1 Color on black background
This is how a font and box color of #5f30a1 hex color will look
on a black background.