In RGB color space, #7f51a1 hex color has a red value of 127, a green value of 81 and a blue value of 161.
In CMYK color space (used in color printing), #7f51a1 hex color is composed of 21.12% cyan, 49.69% magenta, 0% yellow and 36.86% black.
#7f51a1 color has a hue of 274.5 degrees, a saturation of 33.06% and a lightness of 47.5%.
#7f51a1 hex color contains mainly BLUE.
The closest web safe color of #7f51a1 is #666699
#7f51a1 hex color has a decimal value of 8343969.
HEX | 7f51a1 | #7f51a1 |
---|---|---|
RGB | 127, 81, 161 | rgb(127, 81, 161) |
RGB Percent | 49.8, 31.76, 63.14 | rgb(49.8, 31.76, 63.14) |
CMYK | 21, 50, 0, 37 | |
HSL | 274.5°, 33.06, 47.5 | hsl(274.5, 33.06%, 47.5%) |
HSV | 274.5°, 49.7, 63.1 |
XYZ | 18.128, 12.97, 35.266 |
---|---|
Hunter Lab | 36.014, 26.826, -32.849 |
CIE-LAB | 42.718, 34.716, -36.112 |
CIE-LCH | 42.718, 50.093, 313.871 |
CIE-LUV | 21.12, 49.69, 0, 36.86 |
Web Safe | 666699 |
RGB percent of color #7f51a1
CMYK percent of color #7f51a1
Text with hexadecimal color #7f51a1
This text has a font color of #7f51a1
<p style="color:#7f51a1">Text here</p>
#7f51a1 Background Color
This box has a background color of #7f51a1
<div style="background-color:#7f51a1">Text here</div>
#7f51a1 Border Color
This box has a border color of #7f51a1
<div style="border: 4px solid #7f51a1">Text here</div>
CSS codes
<p style="color:#7f51a1">Text here</p>
<div style="background-color:#7f51a1">Text here</div>
<div style="border: 4px solid #7f51a1">Text here</div>
#7f51a1 Color on white background
This is how a font and box color of #7f51a1 will look
on a white background.
#7f51a1 Color on black background
This is how a font and box color of #7f51a1 hex color will look
on a black background.