In RGB color space, #5f3170 hex color has a red value of 95, a green value of 49 and a blue value of 112.
In CMYK color space (used in color printing), #5f3170 hex color is composed of 15.18% cyan, 56.25% magenta, 0% yellow and 56.08% black.
#5f3170 color has a hue of 283.8 degrees, a saturation of 39.13% and a lightness of 31.6%.
#5f3170 hex color contains mainly BLUE.
The closest web safe color of #5f3170 is #663366
#5f3170 hex color has a decimal value of 6238576.
HEX | 5f3170 | #5f3170 |
---|---|---|
RGB | 95, 49, 112 | rgb(95, 49, 112) |
RGB Percent | 37.25, 19.22, 43.92 | rgb(37.25, 19.22, 43.92) |
CMYK | 15, 56, 0, 56 | |
HSL | 283.8°, 39.13, 31.6 | hsl(283.8, 39.13%, 31.6%) |
HSV | 283.8°, 56.3, 43.9 |
XYZ | 8.742, 5.799, 15.988 |
---|---|
Hunter Lab | 24.081, 22.658, -22.507 |
CIE-LAB | 28.9, 32.165, -28.1 |
CIE-LCH | 28.9, 42.711, 318.859 |
CIE-LUV | 15.18, 56.25, 0, 56.08 |
Web Safe | 663366 |
RGB percent of color #5f3170
CMYK percent of color #5f3170
Text with hexadecimal color #5f3170
This text has a font color of #5f3170
<p style="color:#5f3170">Text here</p>
#5f3170 Background Color
This box has a background color of #5f3170
<div style="background-color:#5f3170">Text here</div>
#5f3170 Border Color
This box has a border color of #5f3170
<div style="border: 4px solid #5f3170">Text here</div>
CSS codes
<p style="color:#5f3170">Text here</p>
<div style="background-color:#5f3170">Text here</div>
<div style="border: 4px solid #5f3170">Text here</div>
#5f3170 Color on white background
This is how a font and box color of #5f3170 will look
on a white background.
#5f3170 Color on black background
This is how a font and box color of #5f3170 hex color will look
on a black background.