In RGB color space, #5f2aaa hex color has a red value of 95, a green value of 42 and a blue value of 170.
In CMYK color space (used in color printing), #5f2aaa hex color is composed of 44.12% cyan, 75.29% magenta, 0% yellow and 33.33% black.
#5f2aaa color has a hue of 264.8 degrees, a saturation of 60.38% and a lightness of 41.6%.
#5f2aaa hex color contains mainly BLUE.
The closest web safe color of #5f2aaa is #663399
#5f2aaa hex color has a decimal value of 6236842.
HEX | 5f2aaa | #5f2aaa |
---|---|---|
RGB | 95, 42, 170 | rgb(95, 42, 170) |
RGB Percent | 37.25, 16.47, 66.67 | rgb(37.25, 16.47, 66.67) |
CMYK | 44, 75, 0, 33 | |
HSL | 264.8°, 60.38, 41.6 | hsl(264.8, 60.38%, 41.6%) |
HSV | 264.8°, 75.3, 66.7 |
XYZ | 12.803, 6.991, 38.705 |
---|---|
Hunter Lab | 26.44, 40.162, -68.283 |
CIE-LAB | 31.786, 50.331, -59.287 |
CIE-LCH | 31.786, 77.77, 310.329 |
CIE-LUV | 44.12, 75.29, 0, 33.33 |
Web Safe | 663399 |
RGB percent of color #5f2aaa
CMYK percent of color #5f2aaa
Text with hexadecimal color #5f2aaa
This text has a font color of #5f2aaa
<p style="color:#5f2aaa">Text here</p>
#5f2aaa Background Color
This box has a background color of #5f2aaa
<div style="background-color:#5f2aaa">Text here</div>
#5f2aaa Border Color
This box has a border color of #5f2aaa
<div style="border: 4px solid #5f2aaa">Text here</div>
CSS codes
<p style="color:#5f2aaa">Text here</p>
<div style="background-color:#5f2aaa">Text here</div>
<div style="border: 4px solid #5f2aaa">Text here</div>
#5f2aaa Color on white background
This is how a font and box color of #5f2aaa will look
on a white background.
#5f2aaa Color on black background
This is how a font and box color of #5f2aaa hex color will look
on a black background.