In RGB color space, #5731a1 hex color has a red value of 87, a green value of 49 and a blue value of 161.
In CMYK color space (used in color printing), #5731a1 hex color is composed of 45.96% cyan, 69.57% magenta, 0% yellow and 36.86% black.
#5731a1 color has a hue of 260.4 degrees, a saturation of 53.33% and a lightness of 41.2%.
#5731a1 hex color contains mainly BLUE.
The closest web safe color of #5731a1 is #663399
#5731a1 hex color has a decimal value of 5714337.
HEX | 5731a1 | #5731a1 |
---|---|---|
RGB | 87, 49, 161 | rgb(87, 49, 161) |
RGB Percent | 34.12, 19.22, 63.14 | rgb(34.12, 19.22, 63.14) |
CMYK | 46, 70, 0, 37 | |
HSL | 260.4°, 53.33, 41.2 | hsl(260.4, 53.33%, 41.2%) |
HSV | 260.4°, 69.6, 63.1 |
XYZ | 11.462, 6.796, 34.426 |
---|---|
Hunter Lab | 26.069, 32.861, -60.048 |
CIE-LAB | 31.338, 42.984, -54.634 |
CIE-LCH | 31.338, 69.516, 308.194 |
CIE-LUV | 45.96, 69.57, 0, 36.86 |
Web Safe | 663399 |
RGB percent of color #5731a1
CMYK percent of color #5731a1
Text with hexadecimal color #5731a1
This text has a font color of #5731a1
<p style="color:#5731a1">Text here</p>
#5731a1 Background Color
This box has a background color of #5731a1
<div style="background-color:#5731a1">Text here</div>
#5731a1 Border Color
This box has a border color of #5731a1
<div style="border: 4px solid #5731a1">Text here</div>
CSS codes
<p style="color:#5731a1">Text here</p>
<div style="background-color:#5731a1">Text here</div>
<div style="border: 4px solid #5731a1">Text here</div>
#5731a1 Color on white background
This is how a font and box color of #5731a1 will look
on a white background.
#5731a1 Color on black background
This is how a font and box color of #5731a1 hex color will look
on a black background.