In RGB color space, #511271 hex color has a red value of 81, a green value of 18 and a blue value of 113.
In CMYK color space (used in color printing), #511271 hex color is composed of 28.32% cyan, 84.07% magenta, 0% yellow and 55.69% black.
#511271 color has a hue of 279.8 degrees, a saturation of 72.52% and a lightness of 25.7%.
#511271 hex color contains mainly BLUE.
The closest web safe color of #511271 is #660066
#511271 hex color has a decimal value of 5313137.
HEX | 511271 | #511271 |
---|---|---|
RGB | 81, 18, 113 | rgb(81, 18, 113) |
RGB Percent | 31.76, 7.06, 44.31 | rgb(31.76, 7.06, 44.31) |
CMYK | 28, 84, 0, 56 | |
HSL | 279.8°, 72.52, 25.7 | hsl(279.8, 72.52%, 25.7%) |
HSV | 279.8°, 84.1, 44.3 |
XYZ | 6.59, 3.374, 15.927 |
---|---|
Hunter Lab | 18.368, 31.895, -38.552 |
CIE-LAB | 21.483, 43.842, -40.752 |
CIE-LCH | 21.483, 59.857, 317.092 |
CIE-LUV | 28.32, 84.07, 0, 55.69 |
Web Safe | 660066 |
RGB percent of color #511271
CMYK percent of color #511271
Text with hexadecimal color #511271
This text has a font color of #511271
<p style="color:#511271">Text here</p>
#511271 Background Color
This box has a background color of #511271
<div style="background-color:#511271">Text here</div>
#511271 Border Color
This box has a border color of #511271
<div style="border: 4px solid #511271">Text here</div>
CSS codes
<p style="color:#511271">Text here</p>
<div style="background-color:#511271">Text here</div>
<div style="border: 4px solid #511271">Text here</div>
#511271 Color on white background
This is how a font and box color of #511271 will look
on a white background.
#511271 Color on black background
This is how a font and box color of #511271 hex color will look
on a black background.