In RGB color space, #51257d hex color has a red value of 81, a green value of 37 and a blue value of 125.
In CMYK color space (used in color printing), #51257d hex color is composed of 35.2% cyan, 70.4% magenta, 0% yellow and 50.98% black.
#51257d color has a hue of 270 degrees, a saturation of 54.32% and a lightness of 31.8%.
#51257d hex color contains mainly BLUE.
The closest web safe color of #51257d is #663366
#51257d hex color has a decimal value of 5318013.
HEX | 51257d | #51257d |
---|---|---|
RGB | 81, 37, 125 | rgb(81, 37, 125) |
RGB Percent | 31.76, 14.51, 49.02 | rgb(31.76, 14.51, 49.02) |
CMYK | 35, 70, 0, 51 | |
HSL | 270°, 54.32, 31.8 | hsl(270, 54.32%, 31.8%) |
HSV | 270°, 70.4, 49 |
XYZ | 7.757, 4.553, 19.872 |
---|---|
Hunter Lab | 21.338, 27.55, -40.281 |
CIE-LAB | 25.421, 38.341, -42.03 |
CIE-LCH | 25.421, 56.891, 312.372 |
CIE-LUV | 35.2, 70.4, 0, 50.98 |
Web Safe | 663366 |
RGB percent of color #51257d
CMYK percent of color #51257d
Text with hexadecimal color #51257d
This text has a font color of #51257d
<p style="color:#51257d">Text here</p>
#51257d Background Color
This box has a background color of #51257d
<div style="background-color:#51257d">Text here</div>
#51257d Border Color
This box has a border color of #51257d
<div style="border: 4px solid #51257d">Text here</div>
CSS codes
<p style="color:#51257d">Text here</p>
<div style="background-color:#51257d">Text here</div>
<div style="border: 4px solid #51257d">Text here</div>
#51257d Color on white background
This is how a font and box color of #51257d will look
on a white background.
#51257d Color on black background
This is how a font and box color of #51257d hex color will look
on a black background.