In RGB color space, #5f3798 hex color has a red value of 95, a green value of 55 and a blue value of 152.
In CMYK color space (used in color printing), #5f3798 hex color is composed of 37.5% cyan, 63.82% magenta, 0% yellow and 40.39% black.
#5f3798 color has a hue of 264.7 degrees, a saturation of 46.86% and a lightness of 40.6%.
#5f3798 hex color contains mainly BLUE.
The closest web safe color of #5f3798 is #663399
#5f3798 hex color has a decimal value of 6240152.
HEX | 5f3798 | #5f3798 |
---|---|---|
RGB | 95, 55, 152 | rgb(95, 55, 152) |
RGB Percent | 37.25, 21.57, 59.61 | rgb(37.25, 21.57, 59.61) |
CMYK | 38, 64, 0, 40 | |
HSL | 264.7°, 46.86, 40.6 | hsl(264.7, 46.86%, 40.6%) |
HSV | 264.7°, 63.8, 59.6 |
XYZ | 11.753, 7.432, 30.521 |
---|---|
Hunter Lab | 27.262, 29.247, -47.295 |
CIE-LAB | 32.771, 38.881, -46.803 |
CIE-LCH | 32.771, 60.846, 309.718 |
CIE-LUV | 37.5, 63.82, 0, 40.39 |
Web Safe | 663399 |
RGB percent of color #5f3798
CMYK percent of color #5f3798
Text with hexadecimal color #5f3798
This text has a font color of #5f3798
<p style="color:#5f3798">Text here</p>
#5f3798 Background Color
This box has a background color of #5f3798
<div style="background-color:#5f3798">Text here</div>
#5f3798 Border Color
This box has a border color of #5f3798
<div style="border: 4px solid #5f3798">Text here</div>
CSS codes
<p style="color:#5f3798">Text here</p>
<div style="background-color:#5f3798">Text here</div>
<div style="border: 4px solid #5f3798">Text here</div>
#5f3798 Color on white background
This is how a font and box color of #5f3798 will look
on a white background.
#5f3798 Color on black background
This is how a font and box color of #5f3798 hex color will look
on a black background.