In RGB color space, #7f31ab hex color has a red value of 127, a green value of 49 and a blue value of 171.
In CMYK color space (used in color printing), #7f31ab hex color is composed of 25.73% cyan, 71.35% magenta, 0% yellow and 32.94% black.
#7f31ab color has a hue of 278.4 degrees, a saturation of 55.45% and a lightness of 43.1%.
#7f31ab hex color contains mainly BLUE.
The closest web safe color of #7f31ab is #663399
#7f31ab hex color has a decimal value of 8335787.
HEX | 7f31ab | #7f31ab |
---|---|---|
RGB | 127, 49, 171 | rgb(127, 49, 171) |
RGB Percent | 49.8, 19.22, 67.06 | rgb(49.8, 19.22, 67.06) |
CMYK | 26, 71, 0, 33 | |
HSL | 278.4°, 55.45, 43.1 | hsl(278.4, 55.45%, 43.1%) |
HSV | 278.4°, 71.3, 67.1 |
XYZ | 17.201, 9.649, 39.484 |
---|---|
Hunter Lab | 31.063, 44.484, -53.62 |
CIE-LAB | 37.205, 53.487, -50.888 |
CIE-LCH | 37.205, 73.827, 316.426 |
CIE-LUV | 25.73, 71.35, 0, 32.94 |
Web Safe | 663399 |
RGB percent of color #7f31ab
CMYK percent of color #7f31ab
Text with hexadecimal color #7f31ab
This text has a font color of #7f31ab
<p style="color:#7f31ab">Text here</p>
#7f31ab Background Color
This box has a background color of #7f31ab
<div style="background-color:#7f31ab">Text here</div>
#7f31ab Border Color
This box has a border color of #7f31ab
<div style="border: 4px solid #7f31ab">Text here</div>
CSS codes
<p style="color:#7f31ab">Text here</p>
<div style="background-color:#7f31ab">Text here</div>
<div style="border: 4px solid #7f31ab">Text here</div>
#7f31ab Color on white background
This is how a font and box color of #7f31ab will look
on a white background.
#7f31ab Color on black background
This is how a font and box color of #7f31ab hex color will look
on a black background.