In RGB color space, #5f2789 hex color has a red value of 95, a green value of 39 and a blue value of 137.
In CMYK color space (used in color printing), #5f2789 hex color is composed of 30.66% cyan, 71.53% magenta, 0% yellow and 46.27% black.
#5f2789 color has a hue of 274.3 degrees, a saturation of 55.68% and a lightness of 34.5%.
#5f2789 hex color contains mainly BLUE.
The closest web safe color of #5f2789 is #663399
#5f2789 hex color has a decimal value of 6236041.
HEX | 5f2789 | #5f2789 |
---|---|---|
RGB | 95, 39, 137 | rgb(95, 39, 137) |
RGB Percent | 37.25, 15.29, 53.73 | rgb(37.25, 15.29, 53.73) |
CMYK | 31, 72, 0, 46 | |
HSL | 274.3°, 55.68, 34.5 | hsl(274.3, 55.68%, 34.5%) |
HSV | 274.3°, 71.5, 53.7 |
XYZ | 9.96, 5.69, 24.24 |
---|---|
Hunter Lab | 23.854, 32.788, -43.553 |
CIE-LAB | 28.616, 43.415, -44.289 |
CIE-LCH | 28.616, 62.019, 314.429 |
CIE-LUV | 30.66, 71.53, 0, 46.27 |
Web Safe | 663399 |
RGB percent of color #5f2789
CMYK percent of color #5f2789
Text with hexadecimal color #5f2789
This text has a font color of #5f2789
<p style="color:#5f2789">Text here</p>
#5f2789 Background Color
This box has a background color of #5f2789
<div style="background-color:#5f2789">Text here</div>
#5f2789 Border Color
This box has a border color of #5f2789
<div style="border: 4px solid #5f2789">Text here</div>
CSS codes
<p style="color:#5f2789">Text here</p>
<div style="background-color:#5f2789">Text here</div>
<div style="border: 4px solid #5f2789">Text here</div>
#5f2789 Color on white background
This is how a font and box color of #5f2789 will look
on a white background.
#5f2789 Color on black background
This is how a font and box color of #5f2789 hex color will look
on a black background.