In RGB color space, #5f45a4 hex color has a red value of 95, a green value of 69 and a blue value of 164.
In CMYK color space (used in color printing), #5f45a4 hex color is composed of 42.07% cyan, 57.93% magenta, 0% yellow and 35.69% black.
#5f45a4 color has a hue of 256.4 degrees, a saturation of 40.77% and a lightness of 45.7%.
#5f45a4 hex color contains mainly BLUE.
The closest web safe color of #5f45a4 is #663399
#5f45a4 hex color has a decimal value of 6243748.
HEX | 5f45a4 | #5f45a4 |
---|---|---|
RGB | 95, 69, 164 | rgb(95, 69, 164) |
RGB Percent | 37.25, 27.06, 64.31 | rgb(37.25, 27.06, 64.31) |
CMYK | 42, 58, 0, 36 | |
HSL | 256.4°, 40.77, 45.7 | hsl(256.4, 40.77%, 45.7%) |
HSV | 256.4°, 57.9, 64.3 |
XYZ | 13.548, 9.369, 36.216 |
---|---|
Hunter Lab | 30.609, 25.442, -48.725 |
CIE-LAB | 36.685, 34.094, -47.736 |
CIE-LCH | 36.685, 58.661, 305.535 |
CIE-LUV | 42.07, 57.93, 0, 35.69 |
Web Safe | 663399 |
RGB percent of color #5f45a4
CMYK percent of color #5f45a4
Text with hexadecimal color #5f45a4
This text has a font color of #5f45a4
<p style="color:#5f45a4">Text here</p>
#5f45a4 Background Color
This box has a background color of #5f45a4
<div style="background-color:#5f45a4">Text here</div>
#5f45a4 Border Color
This box has a border color of #5f45a4
<div style="border: 4px solid #5f45a4">Text here</div>
CSS codes
<p style="color:#5f45a4">Text here</p>
<div style="background-color:#5f45a4">Text here</div>
<div style="border: 4px solid #5f45a4">Text here</div>
#5f45a4 Color on white background
This is how a font and box color of #5f45a4 will look
on a white background.
#5f45a4 Color on black background
This is how a font and box color of #5f45a4 hex color will look
on a black background.