In RGB color space, #7f51a8 hex color has a red value of 127, a green value of 81 and a blue value of 168.
In CMYK color space (used in color printing), #7f51a8 hex color is composed of 24.4% cyan, 51.79% magenta, 0% yellow and 34.12% black.
#7f51a8 color has a hue of 271.7 degrees, a saturation of 34.94% and a lightness of 48.8%.
#7f51a8 hex color contains mainly BLUE.
The closest web safe color of #7f51a8 is #666699
#7f51a8 hex color has a decimal value of 8343976.
HEX | 7f51a8 | #7f51a8 |
---|---|---|
RGB | 127, 81, 168 | rgb(127, 81, 168) |
RGB Percent | 49.8, 31.76, 65.88 | rgb(49.8, 31.76, 65.88) |
CMYK | 24, 52, 0, 34 | |
HSL | 271.7°, 34.94, 48.8 | hsl(271.7, 34.94%, 48.8%) |
HSV | 271.7°, 51.8, 65.9 |
XYZ | 18.763, 13.224, 38.609 |
---|---|
Hunter Lab | 36.365, 28.461, -37.494 |
CIE-LAB | 43.099, 36.397, -39.665 |
CIE-LCH | 43.099, 53.834, 312.54 |
CIE-LUV | 24.4, 51.79, 0, 34.12 |
Web Safe | 666699 |
RGB percent of color #7f51a8
CMYK percent of color #7f51a8
Text with hexadecimal color #7f51a8
This text has a font color of #7f51a8
<p style="color:#7f51a8">Text here</p>
#7f51a8 Background Color
This box has a background color of #7f51a8
<div style="background-color:#7f51a8">Text here</div>
#7f51a8 Border Color
This box has a border color of #7f51a8
<div style="border: 4px solid #7f51a8">Text here</div>
CSS codes
<p style="color:#7f51a8">Text here</p>
<div style="background-color:#7f51a8">Text here</div>
<div style="border: 4px solid #7f51a8">Text here</div>
#7f51a8 Color on white background
This is how a font and box color of #7f51a8 will look
on a white background.
#7f51a8 Color on black background
This is how a font and box color of #7f51a8 hex color will look
on a black background.