In RGB color space, #51257b hex color has a red value of 81, a green value of 37 and a blue value of 123.
In CMYK color space (used in color printing), #51257b hex color is composed of 34.15% cyan, 69.92% magenta, 0% yellow and 51.76% black.
#51257b color has a hue of 270.7 degrees, a saturation of 53.75% and a lightness of 31.4%.
#51257b hex color contains mainly BLUE.
The closest web safe color of #51257b is #663366
#51257b hex color has a decimal value of 5318011.
HEX | 51257b | #51257b |
---|---|---|
RGB | 81, 37, 123 | rgb(81, 37, 123) |
RGB Percent | 31.76, 14.51, 48.24 | rgb(31.76, 14.51, 48.24) |
CMYK | 34, 70, 0, 52 | |
HSL | 270.7°, 53.75, 31.4 | hsl(270.7, 53.75%, 31.4%) |
HSV | 270.7°, 69.9, 48.2 |
XYZ | 7.63, 4.503, 19.206 |
---|---|
Hunter Lab | 21.22, 27.046, -38.808 |
CIE-LAB | 25.269, 37.807, -41.011 |
CIE-LCH | 25.269, 55.779, 312.672 |
CIE-LUV | 34.15, 69.92, 0, 51.76 |
Web Safe | 663366 |
RGB percent of color #51257b
CMYK percent of color #51257b
Text with hexadecimal color #51257b
This text has a font color of #51257b
<p style="color:#51257b">Text here</p>
#51257b Background Color
This box has a background color of #51257b
<div style="background-color:#51257b">Text here</div>
#51257b Border Color
This box has a border color of #51257b
<div style="border: 4px solid #51257b">Text here</div>
CSS codes
<p style="color:#51257b">Text here</p>
<div style="background-color:#51257b">Text here</div>
<div style="border: 4px solid #51257b">Text here</div>
#51257b Color on white background
This is how a font and box color of #51257b will look
on a white background.
#51257b Color on black background
This is how a font and box color of #51257b hex color will look
on a black background.