In RGB color space, #5f40ac hex color has a red value of 95, a green value of 64 and a blue value of 172.
In CMYK color space (used in color printing), #5f40ac hex color is composed of 44.77% cyan, 62.79% magenta, 0% yellow and 32.55% black.
#5f40ac color has a hue of 257.2 degrees, a saturation of 45.76% and a lightness of 46.3%.
#5f40ac hex color contains mainly BLUE.
The closest web safe color of #5f40ac is #663399
#5f40ac hex color has a decimal value of 6242476.
HEX | 5f40ac | #5f40ac |
---|---|---|
RGB | 95, 64, 172 | rgb(95, 64, 172) |
RGB Percent | 37.25, 25.1, 67.45 | rgb(37.25, 25.1, 67.45) |
CMYK | 45, 63, 0, 33 | |
HSL | 257.2°, 45.76, 46.3 | hsl(257.2, 45.76%, 46.3%) |
HSV | 257.2°, 62.8, 67.5 |
XYZ | 13.999, 9.078, 40.044 |
---|---|
Hunter Lab | 30.13, 30.208, -57.709 |
CIE-LAB | 36.134, 39.336, -53.406 |
CIE-LCH | 36.134, 66.329, 306.373 |
CIE-LUV | 44.77, 62.79, 0, 32.55 |
Web Safe | 663399 |
RGB percent of color #5f40ac
CMYK percent of color #5f40ac
Text with hexadecimal color #5f40ac
This text has a font color of #5f40ac
<p style="color:#5f40ac">Text here</p>
#5f40ac Background Color
This box has a background color of #5f40ac
<div style="background-color:#5f40ac">Text here</div>
#5f40ac Border Color
This box has a border color of #5f40ac
<div style="border: 4px solid #5f40ac">Text here</div>
CSS codes
<p style="color:#5f40ac">Text here</p>
<div style="background-color:#5f40ac">Text here</div>
<div style="border: 4px solid #5f40ac">Text here</div>
#5f40ac Color on white background
This is how a font and box color of #5f40ac will look
on a white background.
#5f40ac Color on black background
This is how a font and box color of #5f40ac hex color will look
on a black background.