In RGB color space, #7e42a1 hex color has a red value of 126, a green value of 66 and a blue value of 161.
In CMYK color space (used in color printing), #7e42a1 hex color is composed of 21.74% cyan, 59.01% magenta, 0% yellow and 36.86% black.
#7e42a1 color has a hue of 277.9 degrees, a saturation of 41.85% and a lightness of 44.5%.
#7e42a1 hex color contains mainly BLUE.
The closest web safe color of #7e42a1 is #663399
#7e42a1 hex color has a decimal value of 8274593.
HEX | 7e42a1 | #7e42a1 |
---|---|---|
RGB | 126, 66, 161 | rgb(126, 66, 161) |
RGB Percent | 49.41, 25.88, 63.14 | rgb(49.41, 25.88, 63.14) |
CMYK | 22, 59, 0, 37 | |
HSL | 277.9°, 41.85, 44.5 | hsl(277.9, 41.85%, 44.5%) |
HSV | 277.9°, 59, 63.1 |
XYZ | 16.985, 10.905, 34.928 |
---|---|
Hunter Lab | 33.023, 34.02, -39.595 |
CIE-LAB | 39.42, 42.751, -41.358 |
CIE-LCH | 39.42, 59.482, 315.949 |
CIE-LUV | 21.74, 59.01, 0, 36.86 |
Web Safe | 663399 |
RGB percent of color #7e42a1
CMYK percent of color #7e42a1
Text with hexadecimal color #7e42a1
This text has a font color of #7e42a1
<p style="color:#7e42a1">Text here</p>
#7e42a1 Background Color
This box has a background color of #7e42a1
<div style="background-color:#7e42a1">Text here</div>
#7e42a1 Border Color
This box has a border color of #7e42a1
<div style="border: 4px solid #7e42a1">Text here</div>
CSS codes
<p style="color:#7e42a1">Text here</p>
<div style="background-color:#7e42a1">Text here</div>
<div style="border: 4px solid #7e42a1">Text here</div>
#7e42a1 Color on white background
This is how a font and box color of #7e42a1 will look
on a white background.
#7e42a1 Color on black background
This is how a font and box color of #7e42a1 hex color will look
on a black background.