In RGB color space, #51226b hex color has a red value of 81, a green value of 34 and a blue value of 107.
In CMYK color space (used in color printing), #51226b hex color is composed of 24.3% cyan, 68.22% magenta, 0% yellow and 58.04% black.
#51226b color has a hue of 278.6 degrees, a saturation of 51.77% and a lightness of 27.6%.
#51226b hex color contains mainly BLUE.
The closest web safe color of #51226b is #663366
#51226b hex color has a decimal value of 5317227.
HEX | 51226b | #51226b |
---|---|---|
RGB | 81, 34, 107 | rgb(81, 34, 107) |
RGB Percent | 31.76, 13.33, 41.96 | rgb(31.76, 13.33, 41.96) |
CMYK | 24, 68, 0, 58 | |
HSL | 278.6°, 51.77, 27.6 | hsl(278.6, 51.77%, 27.6%) |
HSV | 278.6°, 68.2, 42 |
XYZ | 6.619, 3.955, 14.324 |
---|---|
Hunter Lab | 19.887, 24.607, -28.783 |
CIE-LAB | 23.522, 35.356, -33.576 |
CIE-LCH | 23.522, 48.759, 316.479 |
CIE-LUV | 24.3, 68.22, 0, 58.04 |
Web Safe | 663366 |
RGB percent of color #51226b
CMYK percent of color #51226b
Text with hexadecimal color #51226b
This text has a font color of #51226b
<p style="color:#51226b">Text here</p>
#51226b Background Color
This box has a background color of #51226b
<div style="background-color:#51226b">Text here</div>
#51226b Border Color
This box has a border color of #51226b
<div style="border: 4px solid #51226b">Text here</div>
CSS codes
<p style="color:#51226b">Text here</p>
<div style="background-color:#51226b">Text here</div>
<div style="border: 4px solid #51226b">Text here</div>
#51226b Color on white background
This is how a font and box color of #51226b will look
on a white background.
#51226b Color on black background
This is how a font and box color of #51226b hex color will look
on a black background.