In RGB color space, #7f31b2 hex color has a red value of 127, a green value of 49 and a blue value of 178.
In CMYK color space (used in color printing), #7f31b2 hex color is composed of 28.65% cyan, 72.47% magenta, 0% yellow and 30.2% black.
#7f31b2 color has a hue of 276.3 degrees, a saturation of 56.83% and a lightness of 44.5%.
#7f31b2 hex color contains mainly BLUE.
The closest web safe color of #7f31b2 is #663399
#7f31b2 hex color has a decimal value of 8335794.
HEX | 7f31b2 | #7f31b2 |
---|---|---|
RGB | 127, 49, 178 | rgb(127, 49, 178) |
RGB Percent | 49.8, 19.22, 69.8 | rgb(49.8, 19.22, 69.8) |
CMYK | 29, 72, 0, 30 | |
HSL | 276.3°, 56.83, 44.5 | hsl(276.3, 56.83%, 44.5%) |
HSV | 276.3°, 72.5, 69.8 |
XYZ | 17.887, 9.923, 43.092 |
---|---|
Hunter Lab | 31.501, 46.231, -59.056 |
CIE-LAB | 37.704, 55.048, -54.246 |
CIE-LCH | 37.704, 77.285, 315.42 |
CIE-LUV | 28.65, 72.47, 0, 30.2 |
Web Safe | 663399 |
RGB percent of color #7f31b2
CMYK percent of color #7f31b2
Text with hexadecimal color #7f31b2
This text has a font color of #7f31b2
<p style="color:#7f31b2">Text here</p>
#7f31b2 Background Color
This box has a background color of #7f31b2
<div style="background-color:#7f31b2">Text here</div>
#7f31b2 Border Color
This box has a border color of #7f31b2
<div style="border: 4px solid #7f31b2">Text here</div>
CSS codes
<p style="color:#7f31b2">Text here</p>
<div style="background-color:#7f31b2">Text here</div>
<div style="border: 4px solid #7f31b2">Text here</div>
#7f31b2 Color on white background
This is how a font and box color of #7f31b2 will look
on a white background.
#7f31b2 Color on black background
This is how a font and box color of #7f31b2 hex color will look
on a black background.