In RGB color space, #7f3498 hex color has a red value of 127, a green value of 52 and a blue value of 152.
In CMYK color space (used in color printing), #7f3498 hex color is composed of 16.45% cyan, 65.79% magenta, 0% yellow and 40.39% black.
#7f3498 color has a hue of 285 degrees, a saturation of 49.02% and a lightness of 40%.
#7f3498 hex color contains mainly BLUE.
The closest web safe color of #7f3498 is #663399
#7f3498 hex color has a decimal value of 8336536.
HEX | 7f3498 | #7f3498 |
---|---|---|
RGB | 127, 52, 152 | rgb(127, 52, 152) |
RGB Percent | 49.8, 20.39, 59.61 | rgb(49.8, 20.39, 59.61) |
CMYK | 16, 66, 0, 40 | |
HSL | 285°, 49.02, 40 | hsl(285, 49.02%, 40%) |
HSV | 285°, 65.8, 59.6 |
XYZ | 15.648, 9.235, 30.664 |
---|---|
Hunter Lab | 30.389, 38.732, -38.554 |
CIE-LAB | 36.433, 48.034, -40.694 |
CIE-LCH | 36.433, 62.954, 319.729 |
CIE-LUV | 16.45, 65.79, 0, 40.39 |
Web Safe | 663399 |
RGB percent of color #7f3498
CMYK percent of color #7f3498
Text with hexadecimal color #7f3498
This text has a font color of #7f3498
<p style="color:#7f3498">Text here</p>
#7f3498 Background Color
This box has a background color of #7f3498
<div style="background-color:#7f3498">Text here</div>
#7f3498 Border Color
This box has a border color of #7f3498
<div style="border: 4px solid #7f3498">Text here</div>
CSS codes
<p style="color:#7f3498">Text here</p>
<div style="background-color:#7f3498">Text here</div>
<div style="border: 4px solid #7f3498">Text here</div>
#7f3498 Color on white background
This is how a font and box color of #7f3498 will look
on a white background.
#7f3498 Color on black background
This is how a font and box color of #7f3498 hex color will look
on a black background.