In RGB color space, #7f31d8 hex color has a red value of 127, a green value of 49 and a blue value of 216.
In CMYK color space (used in color printing), #7f31d8 hex color is composed of 41.2% cyan, 77.31% magenta, 0% yellow and 15.29% black.
#7f31d8 color has a hue of 268 degrees, a saturation of 68.16% and a lightness of 52%.
#7f31d8 hex color contains mainly BLUE.
The closest web safe color of #7f31d8 is #6633cc
#7f31d8 hex color has a decimal value of 8335832.
HEX | 7f31d8 | #7f31d8 |
---|---|---|
RGB | 127, 49, 216 | rgb(127, 49, 216) |
RGB Percent | 49.8, 19.22, 84.71 | rgb(49.8, 19.22, 84.71) |
CMYK | 41, 77, 0, 15 | |
HSL | 268°, 68.16, 52 | hsl(268, 68.16%, 52%) |
HSV | 268°, 77.3, 84.7 |
XYZ | 22.245, 11.667, 66.045 |
---|---|
Hunter Lab | 34.157, 56.475, -90.732 |
CIE-LAB | 40.682, 63.812, -71.572 |
CIE-LCH | 40.682, 95.888, 311.719 |
CIE-LUV | 41.2, 77.31, 0, 15.29 |
Web Safe | 6633cc |
RGB percent of color #7f31d8
CMYK percent of color #7f31d8
Text with hexadecimal color #7f31d8
This text has a font color of #7f31d8
<p style="color:#7f31d8">Text here</p>
#7f31d8 Background Color
This box has a background color of #7f31d8
<div style="background-color:#7f31d8">Text here</div>
#7f31d8 Border Color
This box has a border color of #7f31d8
<div style="border: 4px solid #7f31d8">Text here</div>
CSS codes
<p style="color:#7f31d8">Text here</p>
<div style="background-color:#7f31d8">Text here</div>
<div style="border: 4px solid #7f31d8">Text here</div>
#7f31d8 Color on white background
This is how a font and box color of #7f31d8 will look
on a white background.
#7f31d8 Color on black background
This is how a font and box color of #7f31d8 hex color will look
on a black background.