In RGB color space, #7f31c4 hex color has a red value of 127, a green value of 49 and a blue value of 196.
In CMYK color space (used in color printing), #7f31c4 hex color is composed of 35.2% cyan, 75% magenta, 0% yellow and 23.14% black.
#7f31c4 color has a hue of 271.8 degrees, a saturation of 60% and a lightness of 48%.
#7f31c4 hex color contains mainly BLUE.
The closest web safe color of #7f31c4 is #6633cc
#7f31c4 hex color has a decimal value of 8335812.
HEX | 7f31c4 | #7f31c4 |
---|---|---|
RGB | 127, 49, 196 | rgb(127, 49, 196) |
RGB Percent | 49.8, 19.22, 76.86 | rgb(49.8, 19.22, 76.86) |
CMYK | 35, 75, 0, 23 | |
HSL | 271.8°, 60, 48 | hsl(271.8, 60%, 48%) |
HSV | 271.8°, 75, 76.9 |
XYZ | 19.815, 10.694, 53.244 |
---|---|
Hunter Lab | 32.702, 50.931, -73.643 |
CIE-LAB | 39.06, 59.147, -62.636 |
CIE-LCH | 39.06, 86.149, 313.359 |
CIE-LUV | 35.2, 75, 0, 23.14 |
Web Safe | 6633cc |
RGB percent of color #7f31c4
CMYK percent of color #7f31c4
Text with hexadecimal color #7f31c4
This text has a font color of #7f31c4
<p style="color:#7f31c4">Text here</p>
#7f31c4 Background Color
This box has a background color of #7f31c4
<div style="background-color:#7f31c4">Text here</div>
#7f31c4 Border Color
This box has a border color of #7f31c4
<div style="border: 4px solid #7f31c4">Text here</div>
CSS codes
<p style="color:#7f31c4">Text here</p>
<div style="background-color:#7f31c4">Text here</div>
<div style="border: 4px solid #7f31c4">Text here</div>
#7f31c4 Color on white background
This is how a font and box color of #7f31c4 will look
on a white background.
#7f31c4 Color on black background
This is how a font and box color of #7f31c4 hex color will look
on a black background.