In RGB color space, #5251a2 hex color has a red value of 82, a green value of 81 and a blue value of 162.
In CMYK color space (used in color printing), #5251a2 hex color is composed of 49.38% cyan, 50% magenta, 0% yellow and 36.47% black.
#5251a2 color has a hue of 240.7 degrees, a saturation of 33.33% and a lightness of 47.6%.
#5251a2 hex color contains mainly BLUE.
The closest web safe color of #5251a2 is #666699
#5251a2 hex color has a decimal value of 5394850.
HEX | 5251a2 | #5251a2 |
---|---|---|
RGB | 82, 81, 162 | rgb(82, 81, 162) |
RGB Percent | 32.16, 31.76, 63.53 | rgb(32.16, 31.76, 63.53) |
CMYK | 49, 50, 0, 36 | |
HSL | 240.7°, 33.33, 47.6 | hsl(240.7, 33.33%, 47.6%) |
HSV | 240.7°, 50, 63.5 |
XYZ | 12.944, 10.287, 35.486 |
---|---|
Hunter Lab | 32.073, 15.91, -43.147 |
CIE-LAB | 38.353, 22.966, -43.924 |
CIE-LCH | 38.353, 49.566, 297.603 |
CIE-LUV | 49.38, 50, 0, 36.47 |
Web Safe | 666699 |
RGB percent of color #5251a2
CMYK percent of color #5251a2
Text with hexadecimal color #5251a2
This text has a font color of #5251a2
<p style="color:#5251a2">Text here</p>
#5251a2 Background Color
This box has a background color of #5251a2
<div style="background-color:#5251a2">Text here</div>
#5251a2 Border Color
This box has a border color of #5251a2
<div style="border: 4px solid #5251a2">Text here</div>
CSS codes
<p style="color:#5251a2">Text here</p>
<div style="background-color:#5251a2">Text here</div>
<div style="border: 4px solid #5251a2">Text here</div>
#5251a2 Color on white background
This is how a font and box color of #5251a2 will look
on a white background.
#5251a2 Color on black background
This is how a font and box color of #5251a2 hex color will look
on a black background.