In RGB color space, #5251a1 hex color has a red value of 82, a green value of 81 and a blue value of 161.
In CMYK color space (used in color printing), #5251a1 hex color is composed of 49.07% cyan, 49.69% magenta, 0% yellow and 36.86% black.
#5251a1 color has a hue of 240.8 degrees, a saturation of 33.06% and a lightness of 47.5%.
#5251a1 hex color contains mainly BLUE.
The closest web safe color of #5251a1 is #666699
#5251a1 hex color has a decimal value of 5394849.
HEX | 5251a1 | #5251a1 |
---|---|---|
RGB | 82, 81, 161 | rgb(82, 81, 161) |
RGB Percent | 32.16, 31.76, 63.14 | rgb(32.16, 31.76, 63.14) |
CMYK | 49, 50, 0, 37 | |
HSL | 240.8°, 33.06, 47.5 | hsl(240.8, 33.06%, 47.5%) |
HSV | 240.8°, 49.7, 63.1 |
XYZ | 12.855, 10.252, 35.019 |
---|---|
Hunter Lab | 32.019, 15.632, -42.433 |
CIE-LAB | 38.291, 22.641, -43.423 |
CIE-LCH | 38.291, 48.971, 297.538 |
CIE-LUV | 49.07, 49.69, 0, 36.86 |
Web Safe | 666699 |
RGB percent of color #5251a1
CMYK percent of color #5251a1
Text with hexadecimal color #5251a1
This text has a font color of #5251a1
<p style="color:#5251a1">Text here</p>
#5251a1 Background Color
This box has a background color of #5251a1
<div style="background-color:#5251a1">Text here</div>
#5251a1 Border Color
This box has a border color of #5251a1
<div style="border: 4px solid #5251a1">Text here</div>
CSS codes
<p style="color:#5251a1">Text here</p>
<div style="background-color:#5251a1">Text here</div>
<div style="border: 4px solid #5251a1">Text here</div>
#5251a1 Color on white background
This is how a font and box color of #5251a1 will look
on a white background.
#5251a1 Color on black background
This is how a font and box color of #5251a1 hex color will look
on a black background.