In RGB color space, #51128e hex color has a red value of 81, a green value of 18 and a blue value of 142.
In CMYK color space (used in color printing), #51128e hex color is composed of 42.96% cyan, 87.32% magenta, 0% yellow and 44.31% black.
#51128e color has a hue of 270.5 degrees, a saturation of 77.5% and a lightness of 31.4%.
#51128e hex color contains mainly BLUE.
The closest web safe color of #51128e is #660099
#51128e hex color has a decimal value of 5313166.
HEX | 51128e | #51128e |
---|---|---|
RGB | 81, 18, 142 | rgb(81, 18, 142) |
RGB Percent | 31.76, 7.06, 55.69 | rgb(31.76, 7.06, 55.69) |
CMYK | 43, 87, 0, 44 | |
HSL | 270.5°, 77.5, 31.4 | hsl(270.5, 77.5%, 31.4%) |
HSV | 270.5°, 87.3, 55.7 |
XYZ | 8.492, 4.135, 25.942 |
---|---|
Hunter Lab | 20.335, 38.958, -61.405 |
CIE-LAB | 24.113, 50.625, -54.827 |
CIE-LCH | 24.113, 74.625, 312.718 |
CIE-LUV | 42.96, 87.32, 0, 44.31 |
Web Safe | 660099 |
RGB percent of color #51128e
CMYK percent of color #51128e
Text with hexadecimal color #51128e
This text has a font color of #51128e
<p style="color:#51128e">Text here</p>
#51128e Background Color
This box has a background color of #51128e
<div style="background-color:#51128e">Text here</div>
#51128e Border Color
This box has a border color of #51128e
<div style="border: 4px solid #51128e">Text here</div>
CSS codes
<p style="color:#51128e">Text here</p>
<div style="background-color:#51128e">Text here</div>
<div style="border: 4px solid #51128e">Text here</div>
#51128e Color on white background
This is how a font and box color of #51128e will look
on a white background.
#51128e Color on black background
This is how a font and box color of #51128e hex color will look
on a black background.