In RGB color space, #7f31a8 hex color has a red value of 127, a green value of 49 and a blue value of 168.
In CMYK color space (used in color printing), #7f31a8 hex color is composed of 24.4% cyan, 70.83% magenta, 0% yellow and 34.12% black.
#7f31a8 color has a hue of 279.3 degrees, a saturation of 54.84% and a lightness of 42.5%.
#7f31a8 hex color contains mainly BLUE.
The closest web safe color of #7f31a8 is #663399
#7f31a8 hex color has a decimal value of 8335784.
HEX | 7f31a8 | #7f31a8 |
---|---|---|
RGB | 127, 49, 168 | rgb(127, 49, 168) |
RGB Percent | 49.8, 19.22, 65.88 | rgb(49.8, 19.22, 65.88) |
CMYK | 24, 71, 0, 34 | |
HSL | 279.3°, 54.84, 42.5 | hsl(279.3, 54.84%, 42.5%) |
HSV | 279.3°, 70.8, 65.9 |
XYZ | 16.919, 9.536, 37.995 |
---|---|
Hunter Lab | 30.88, 43.757, -51.334 |
CIE-LAB | 36.996, 52.832, -49.432 |
CIE-LCH | 36.996, 72.352, 316.904 |
CIE-LUV | 24.4, 70.83, 0, 34.12 |
Web Safe | 663399 |
RGB percent of color #7f31a8
CMYK percent of color #7f31a8
Text with hexadecimal color #7f31a8
This text has a font color of #7f31a8
<p style="color:#7f31a8">Text here</p>
#7f31a8 Background Color
This box has a background color of #7f31a8
<div style="background-color:#7f31a8">Text here</div>
#7f31a8 Border Color
This box has a border color of #7f31a8
<div style="border: 4px solid #7f31a8">Text here</div>
CSS codes
<p style="color:#7f31a8">Text here</p>
<div style="background-color:#7f31a8">Text here</div>
<div style="border: 4px solid #7f31a8">Text here</div>
#7f31a8 Color on white background
This is how a font and box color of #7f31a8 will look
on a white background.
#7f31a8 Color on black background
This is how a font and box color of #7f31a8 hex color will look
on a black background.