In RGB color space, #5f42a9 hex color has a red value of 95, a green value of 66 and a blue value of 169.
In CMYK color space (used in color printing), #5f42a9 hex color is composed of 43.79% cyan, 60.95% magenta, 0% yellow and 33.73% black.
#5f42a9 color has a hue of 256.9 degrees, a saturation of 43.83% and a lightness of 46.1%.
#5f42a9 hex color contains mainly BLUE.
The closest web safe color of #5f42a9 is #663399
#5f42a9 hex color has a decimal value of 6242985.
HEX | 5f42a9 | #5f42a9 |
---|---|---|
RGB | 95, 66, 169 | rgb(95, 66, 169) |
RGB Percent | 37.25, 25.88, 66.27 | rgb(37.25, 25.88, 66.27) |
CMYK | 44, 61, 0, 34 | |
HSL | 256.9°, 43.83, 46.1 | hsl(256.9, 43.83%, 46.1%) |
HSV | 256.9°, 60.9, 66.3 |
XYZ | 13.829, 9.194, 38.582 |
---|---|
Hunter Lab | 30.322, 28.347, -54.217 |
CIE-LAB | 36.355, 37.31, -51.259 |
CIE-LCH | 36.355, 63.4, 306.05 |
CIE-LUV | 43.79, 60.95, 0, 33.73 |
Web Safe | 663399 |
RGB percent of color #5f42a9
CMYK percent of color #5f42a9
Text with hexadecimal color #5f42a9
This text has a font color of #5f42a9
<p style="color:#5f42a9">Text here</p>
#5f42a9 Background Color
This box has a background color of #5f42a9
<div style="background-color:#5f42a9">Text here</div>
#5f42a9 Border Color
This box has a border color of #5f42a9
<div style="border: 4px solid #5f42a9">Text here</div>
CSS codes
<p style="color:#5f42a9">Text here</p>
<div style="background-color:#5f42a9">Text here</div>
<div style="border: 4px solid #5f42a9">Text here</div>
#5f42a9 Color on white background
This is how a font and box color of #5f42a9 will look
on a white background.
#5f42a9 Color on black background
This is how a font and box color of #5f42a9 hex color will look
on a black background.