In RGB color space, #5f52a6 hex color has a red value of 95, a green value of 82 and a blue value of 166.
In CMYK color space (used in color printing), #5f52a6 hex color is composed of 42.77% cyan, 50.6% magenta, 0% yellow and 34.9% black.
#5f52a6 color has a hue of 249.3 degrees, a saturation of 33.87% and a lightness of 48.6%.
#5f52a6 hex color contains mainly BLUE.
The closest web safe color of #5f52a6 is #666699
#5f52a6 hex color has a decimal value of 6247078.
HEX | 5f52a6 | #5f52a6 |
---|---|---|
RGB | 95, 82, 166 | rgb(95, 82, 166) |
RGB Percent | 37.25, 32.16, 65.1 | rgb(37.25, 32.16, 65.1) |
CMYK | 43, 51, 0, 35 | |
HSL | 249.3°, 33.87, 48.6 | hsl(249.3, 33.87%, 48.6%) |
HSV | 249.3°, 50.6, 65.1 |
XYZ | 14.62, 11.221, 37.472 |
---|---|
Hunter Lab | 33.498, 19.285, -42.876 |
CIE-LAB | 39.95, 26.735, -43.69 |
CIE-LCH | 39.95, 51.221, 301.464 |
CIE-LUV | 42.77, 50.6, 0, 34.9 |
Web Safe | 666699 |
RGB percent of color #5f52a6
CMYK percent of color #5f52a6
Text with hexadecimal color #5f52a6
This text has a font color of #5f52a6
<p style="color:#5f52a6">Text here</p>
#5f52a6 Background Color
This box has a background color of #5f52a6
<div style="background-color:#5f52a6">Text here</div>
#5f52a6 Border Color
This box has a border color of #5f52a6
<div style="border: 4px solid #5f52a6">Text here</div>
CSS codes
<p style="color:#5f52a6">Text here</p>
<div style="background-color:#5f52a6">Text here</div>
<div style="border: 4px solid #5f52a6">Text here</div>
#5f52a6 Color on white background
This is how a font and box color of #5f52a6 will look
on a white background.
#5f52a6 Color on black background
This is how a font and box color of #5f52a6 hex color will look
on a black background.