In RGB color space, #7f42a2 hex color has a red value of 127, a green value of 66 and a blue value of 162.
In CMYK color space (used in color printing), #7f42a2 hex color is composed of 21.6% cyan, 59.26% magenta, 0% yellow and 36.47% black.
#7f42a2 color has a hue of 278.1 degrees, a saturation of 42.11% and a lightness of 44.7%.
#7f42a2 hex color contains mainly BLUE.
The closest web safe color of #7f42a2 is #663399
#7f42a2 hex color has a decimal value of 8340130.
HEX | 7f42a2 | #7f42a2 |
---|---|---|
RGB | 127, 66, 162 | rgb(127, 66, 162) |
RGB Percent | 49.8, 25.88, 63.53 | rgb(49.8, 25.88, 63.53) |
CMYK | 22, 59, 0, 36 | |
HSL | 278.1°, 42.11, 44.7 | hsl(278.1, 42.11%, 44.7%) |
HSV | 278.1°, 59.3, 63.5 |
XYZ | 17.222, 11.017, 35.401 |
---|---|
Hunter Lab | 33.192, 34.531, -40.002 |
CIE-LAB | 39.609, 43.24, -41.647 |
CIE-LCH | 39.609, 60.035, 316.075 |
CIE-LUV | 21.6, 59.26, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #7f42a2
CMYK percent of color #7f42a2
Text with hexadecimal color #7f42a2
This text has a font color of #7f42a2
<p style="color:#7f42a2">Text here</p>
#7f42a2 Background Color
This box has a background color of #7f42a2
<div style="background-color:#7f42a2">Text here</div>
#7f42a2 Border Color
This box has a border color of #7f42a2
<div style="border: 4px solid #7f42a2">Text here</div>
CSS codes
<p style="color:#7f42a2">Text here</p>
<div style="background-color:#7f42a2">Text here</div>
<div style="border: 4px solid #7f42a2">Text here</div>
#7f42a2 Color on white background
This is how a font and box color of #7f42a2 will look
on a white background.
#7f42a2 Color on black background
This is how a font and box color of #7f42a2 hex color will look
on a black background.