In RGB color space, #7f42b7 hex color has a red value of 127, a green value of 66 and a blue value of 183.
In CMYK color space (used in color printing), #7f42b7 hex color is composed of 30.6% cyan, 63.93% magenta, 0% yellow and 28.24% black.
#7f42b7 color has a hue of 271.3 degrees, a saturation of 46.99% and a lightness of 48.8%.
#7f42b7 hex color contains mainly BLUE.
The closest web safe color of #7f42b7 is #6633cc
#7f42b7 hex color has a decimal value of 8340151.
HEX | 7f42b7 | #7f42b7 |
---|---|---|
RGB | 127, 66, 183 | rgb(127, 66, 183) |
RGB Percent | 49.8, 25.88, 71.76 | rgb(49.8, 25.88, 71.76) |
CMYK | 31, 64, 0, 28 | |
HSL | 271.3°, 46.99, 48.8 | hsl(271.3, 46.99%, 48.8%) |
HSV | 271.3°, 63.9, 71.8 |
XYZ | 19.248, 11.827, 46.068 |
---|---|
Hunter Lab | 34.39, 39.722, -55.349 |
CIE-LAB | 40.94, 48.19, -51.972 |
CIE-LCH | 40.94, 70.876, 312.838 |
CIE-LUV | 30.6, 63.93, 0, 28.24 |
Web Safe | 6633cc |
RGB percent of color #7f42b7
CMYK percent of color #7f42b7
Text with hexadecimal color #7f42b7
This text has a font color of #7f42b7
<p style="color:#7f42b7">Text here</p>
#7f42b7 Background Color
This box has a background color of #7f42b7
<div style="background-color:#7f42b7">Text here</div>
#7f42b7 Border Color
This box has a border color of #7f42b7
<div style="border: 4px solid #7f42b7">Text here</div>
CSS codes
<p style="color:#7f42b7">Text here</p>
<div style="background-color:#7f42b7">Text here</div>
<div style="border: 4px solid #7f42b7">Text here</div>
#7f42b7 Color on white background
This is how a font and box color of #7f42b7 will look
on a white background.
#7f42b7 Color on black background
This is how a font and box color of #7f42b7 hex color will look
on a black background.