In RGB color space, #7e31a1 hex color has a red value of 126, a green value of 49 and a blue value of 161.
In CMYK color space (used in color printing), #7e31a1 hex color is composed of 21.74% cyan, 69.57% magenta, 0% yellow and 36.86% black.
#7e31a1 color has a hue of 281.3 degrees, a saturation of 53.33% and a lightness of 41.2%.
#7e31a1 hex color contains mainly BLUE.
The closest web safe color of #7e31a1 is #663399
#7e31a1 hex color has a decimal value of 8270241.
HEX | 7e31a1 | #7e31a1 |
---|---|---|
RGB | 126, 49, 161 | rgb(126, 49, 161) |
RGB Percent | 49.41, 19.22, 63.14 | rgb(49.41, 19.22, 63.14) |
CMYK | 22, 70, 0, 37 | |
HSL | 281.3°, 53.33, 41.2 | hsl(281.3, 53.33%, 41.2%) |
HSV | 281.3°, 69.6, 63.1 |
XYZ | 16.136, 9.205, 34.645 |
---|---|
Hunter Lab | 30.34, 41.84, -46.466 |
CIE-LAB | 36.376, 51.098, -46.236 |
CIE-LCH | 36.376, 68.911, 317.86 |
CIE-LUV | 21.74, 69.57, 0, 36.86 |
Web Safe | 663399 |
RGB percent of color #7e31a1
CMYK percent of color #7e31a1
Text with hexadecimal color #7e31a1
This text has a font color of #7e31a1
<p style="color:#7e31a1">Text here</p>
#7e31a1 Background Color
This box has a background color of #7e31a1
<div style="background-color:#7e31a1">Text here</div>
#7e31a1 Border Color
This box has a border color of #7e31a1
<div style="border: 4px solid #7e31a1">Text here</div>
CSS codes
<p style="color:#7e31a1">Text here</p>
<div style="background-color:#7e31a1">Text here</div>
<div style="border: 4px solid #7e31a1">Text here</div>
#7e31a1 Color on white background
This is how a font and box color of #7e31a1 will look
on a white background.
#7e31a1 Color on black background
This is how a font and box color of #7e31a1 hex color will look
on a black background.