In RGB color space, #5f3982 hex color has a red value of 95, a green value of 57 and a blue value of 130.
In CMYK color space (used in color printing), #5f3982 hex color is composed of 26.92% cyan, 56.15% magenta, 0% yellow and 49.02% black.
#5f3982 color has a hue of 271.2 degrees, a saturation of 39.04% and a lightness of 36.7%.
#5f3982 hex color contains mainly BLUE.
The closest web safe color of #5f3982 is #663399
#5f3982 hex color has a decimal value of 6240642.
HEX | 5f3982 | #5f3982 |
---|---|---|
RGB | 95, 57, 130 | rgb(95, 57, 130) |
RGB Percent | 37.25, 22.35, 50.98 | rgb(37.25, 22.35, 50.98) |
CMYK | 27, 56, 0, 49 | |
HSL | 271.2°, 39.04, 36.7 | hsl(271.2, 39.04%, 36.7%) |
HSV | 271.2°, 56.2, 51 |
XYZ | 10.212, 6.971, 21.926 |
---|---|
Hunter Lab | 26.403, 22.835, -30.755 |
CIE-LAB | 31.741, 31.92, -34.916 |
CIE-LCH | 31.741, 47.308, 312.433 |
CIE-LUV | 26.92, 56.15, 0, 49.02 |
Web Safe | 663399 |
RGB percent of color #5f3982
CMYK percent of color #5f3982
Text with hexadecimal color #5f3982
This text has a font color of #5f3982
<p style="color:#5f3982">Text here</p>
#5f3982 Background Color
This box has a background color of #5f3982
<div style="background-color:#5f3982">Text here</div>
#5f3982 Border Color
This box has a border color of #5f3982
<div style="border: 4px solid #5f3982">Text here</div>
CSS codes
<p style="color:#5f3982">Text here</p>
<div style="background-color:#5f3982">Text here</div>
<div style="border: 4px solid #5f3982">Text here</div>
#5f3982 Color on white background
This is how a font and box color of #5f3982 will look
on a white background.
#5f3982 Color on black background
This is how a font and box color of #5f3982 hex color will look
on a black background.