In RGB color space, #5f3a9e hex color has a red value of 95, a green value of 58 and a blue value of 158.
In CMYK color space (used in color printing), #5f3a9e hex color is composed of 39.87% cyan, 63.29% magenta, 0% yellow and 38.04% black.
#5f3a9e color has a hue of 262.2 degrees, a saturation of 46.3% and a lightness of 42.4%.
#5f3a9e hex color contains mainly BLUE.
The closest web safe color of #5f3a9e is #663399
#5f3a9e hex color has a decimal value of 6240926.
HEX | 5f3a9e | #5f3a9e |
---|---|---|
RGB | 95, 58, 158 | rgb(95, 58, 158) |
RGB Percent | 37.25, 22.75, 61.96 | rgb(37.25, 22.75, 61.96) |
CMYK | 40, 63, 0, 38 | |
HSL | 262.2°, 46.3, 42.4 | hsl(262.2, 46.3%, 42.4%) |
HSV | 262.2°, 63.3, 62 |
XYZ | 12.404, 7.928, 33.224 |
---|---|
Hunter Lab | 28.157, 29.361, -50.251 |
CIE-LAB | 33.832, 38.821, -48.728 |
CIE-LCH | 33.832, 62.302, 308.544 |
CIE-LUV | 39.87, 63.29, 0, 38.04 |
Web Safe | 663399 |
RGB percent of color #5f3a9e
CMYK percent of color #5f3a9e
Text with hexadecimal color #5f3a9e
This text has a font color of #5f3a9e
<p style="color:#5f3a9e">Text here</p>
#5f3a9e Background Color
This box has a background color of #5f3a9e
<div style="background-color:#5f3a9e">Text here</div>
#5f3a9e Border Color
This box has a border color of #5f3a9e
<div style="border: 4px solid #5f3a9e">Text here</div>
CSS codes
<p style="color:#5f3a9e">Text here</p>
<div style="background-color:#5f3a9e">Text here</div>
<div style="border: 4px solid #5f3a9e">Text here</div>
#5f3a9e Color on white background
This is how a font and box color of #5f3a9e will look
on a white background.
#5f3a9e Color on black background
This is how a font and box color of #5f3a9e hex color will look
on a black background.