In RGB color space, #7e31c6 hex color has a red value of 126, a green value of 49 and a blue value of 198.
In CMYK color space (used in color printing), #7e31c6 hex color is composed of 36.36% cyan, 75.25% magenta, 0% yellow and 22.35% black.
#7e31c6 color has a hue of 271 degrees, a saturation of 60.32% and a lightness of 48.4%.
#7e31c6 hex color contains mainly BLUE.
The closest web safe color of #7e31c6 is #6633cc
#7e31c6 hex color has a decimal value of 8270278.
HEX | 7e31c6 | #7e31c6 |
---|---|---|
RGB | 126, 49, 198 | rgb(126, 49, 198) |
RGB Percent | 49.41, 19.22, 77.65 | rgb(49.41, 19.22, 77.65) |
CMYK | 36, 75, 0, 22 | |
HSL | 271°, 60.32, 48.4 | hsl(271, 60.32%, 48.4%) |
HSV | 271°, 75.3, 77.6 |
XYZ | 19.896, 10.709, 54.445 |
---|---|
Hunter Lab | 32.725, 51.257, -75.735 |
CIE-LAB | 39.086, 59.439, -63.768 |
CIE-LCH | 39.086, 87.174, 312.988 |
CIE-LUV | 36.36, 75.25, 0, 22.35 |
Web Safe | 6633cc |
RGB percent of color #7e31c6
CMYK percent of color #7e31c6
Text with hexadecimal color #7e31c6
This text has a font color of #7e31c6
<p style="color:#7e31c6">Text here</p>
#7e31c6 Background Color
This box has a background color of #7e31c6
<div style="background-color:#7e31c6">Text here</div>
#7e31c6 Border Color
This box has a border color of #7e31c6
<div style="border: 4px solid #7e31c6">Text here</div>
CSS codes
<p style="color:#7e31c6">Text here</p>
<div style="background-color:#7e31c6">Text here</div>
<div style="border: 4px solid #7e31c6">Text here</div>
#7e31c6 Color on white background
This is how a font and box color of #7e31c6 will look
on a white background.
#7e31c6 Color on black background
This is how a font and box color of #7e31c6 hex color will look
on a black background.