In RGB color space, #5842a4 hex color has a red value of 88, a green value of 66 and a blue value of 164.
In CMYK color space (used in color printing), #5842a4 hex color is composed of 46.34% cyan, 59.76% magenta, 0% yellow and 35.69% black.
#5842a4 color has a hue of 253.5 degrees, a saturation of 42.61% and a lightness of 45.1%.
#5842a4 hex color contains mainly BLUE.
The closest web safe color of #5842a4 is #663399
#5842a4 hex color has a decimal value of 5784228.
HEX | 5842a4 | #5842a4 |
---|---|---|
RGB | 88, 66, 164 | rgb(88, 66, 164) |
RGB Percent | 34.51, 25.88, 64.31 | rgb(34.51, 25.88, 64.31) |
CMYK | 46, 60, 0, 36 | |
HSL | 253.5°, 42.61, 45.1 | hsl(253.5, 42.61%, 45.1%) |
HSV | 253.5°, 59.8, 64.3 |
XYZ | 12.674, 8.651, 36.124 |
---|---|
Hunter Lab | 29.413, 25.444, -52.23 |
CIE-LAB | 35.303, 34.308, -50.001 |
CIE-LCH | 35.303, 60.639, 304.456 |
CIE-LUV | 46.34, 59.76, 0, 35.69 |
Web Safe | 663399 |
RGB percent of color #5842a4
CMYK percent of color #5842a4
Text with hexadecimal color #5842a4
This text has a font color of #5842a4
<p style="color:#5842a4">Text here</p>
#5842a4 Background Color
This box has a background color of #5842a4
<div style="background-color:#5842a4">Text here</div>
#5842a4 Border Color
This box has a border color of #5842a4
<div style="border: 4px solid #5842a4">Text here</div>
CSS codes
<p style="color:#5842a4">Text here</p>
<div style="background-color:#5842a4">Text here</div>
<div style="border: 4px solid #5842a4">Text here</div>
#5842a4 Color on white background
This is how a font and box color of #5842a4 will look
on a white background.
#5842a4 Color on black background
This is how a font and box color of #5842a4 hex color will look
on a black background.