In RGB color space, #5842c1 hex color has a red value of 88, a green value of 66 and a blue value of 193.
In CMYK color space (used in color printing), #5842c1 hex color is composed of 54.4% cyan, 65.8% magenta, 0% yellow and 24.31% black.
#5842c1 color has a hue of 250.4 degrees, a saturation of 50.6% and a lightness of 50.8%.
#5842c1 hex color contains mainly BLUE.
The closest web safe color of #5842c1 is #6633cc
#5842c1 hex color has a decimal value of 5784257.
HEX | 5842c1 | #5842c1 |
---|---|---|
RGB | 88, 66, 193 | rgb(88, 66, 193) |
RGB Percent | 34.51, 25.88, 75.69 | rgb(34.51, 25.88, 75.69) |
CMYK | 54, 66, 0, 24 | |
HSL | 250.4°, 50.6, 50.8 | hsl(250.4, 50.6%, 50.8%) |
HSV | 250.4°, 65.8, 75.7 |
XYZ | 15.598, 9.821, 51.526 |
---|---|
Hunter Lab | 31.338, 34.002, -75.546 |
CIE-LAB | 37.519, 43.059, -63.58 |
CIE-LCH | 37.519, 76.789, 304.107 |
CIE-LUV | 54.4, 65.8, 0, 24.31 |
Web Safe | 6633cc |
RGB percent of color #5842c1
CMYK percent of color #5842c1
Text with hexadecimal color #5842c1
This text has a font color of #5842c1
<p style="color:#5842c1">Text here</p>
#5842c1 Background Color
This box has a background color of #5842c1
<div style="background-color:#5842c1">Text here</div>
#5842c1 Border Color
This box has a border color of #5842c1
<div style="border: 4px solid #5842c1">Text here</div>
CSS codes
<p style="color:#5842c1">Text here</p>
<div style="background-color:#5842c1">Text here</div>
<div style="border: 4px solid #5842c1">Text here</div>
#5842c1 Color on white background
This is how a font and box color of #5842c1 will look
on a white background.
#5842c1 Color on black background
This is how a font and box color of #5842c1 hex color will look
on a black background.