In RGB color space, #5f40aa hex color has a red value of 95, a green value of 64 and a blue value of 170.
In CMYK color space (used in color printing), #5f40aa hex color is composed of 44.12% cyan, 62.35% magenta, 0% yellow and 33.33% black.
#5f40aa color has a hue of 257.5 degrees, a saturation of 45.3% and a lightness of 45.9%.
#5f40aa hex color contains mainly BLUE.
The closest web safe color of #5f40aa is #663399
#5f40aa hex color has a decimal value of 6242474.
HEX | 5f40aa | #5f40aa |
---|---|---|
RGB | 95, 64, 170 | rgb(95, 64, 170) |
RGB Percent | 37.25, 25.1, 66.67 | rgb(37.25, 25.1, 66.67) |
CMYK | 44, 62, 0, 33 | |
HSL | 257.5°, 45.3, 45.9 | hsl(257.5, 45.3%, 45.9%) |
HSV | 257.5°, 62.4, 66.7 |
XYZ | 13.808, 9.002, 39.04 |
---|---|
Hunter Lab | 30.003, 29.643, -56.145 |
CIE-LAB | 35.988, 38.759, -52.45 |
CIE-LCH | 35.988, 65.217, 306.463 |
CIE-LUV | 44.12, 62.35, 0, 33.33 |
Web Safe | 663399 |
RGB percent of color #5f40aa
CMYK percent of color #5f40aa
Text with hexadecimal color #5f40aa
This text has a font color of #5f40aa
<p style="color:#5f40aa">Text here</p>
#5f40aa Background Color
This box has a background color of #5f40aa
<div style="background-color:#5f40aa">Text here</div>
#5f40aa Border Color
This box has a border color of #5f40aa
<div style="border: 4px solid #5f40aa">Text here</div>
CSS codes
<p style="color:#5f40aa">Text here</p>
<div style="background-color:#5f40aa">Text here</div>
<div style="border: 4px solid #5f40aa">Text here</div>
#5f40aa Color on white background
This is how a font and box color of #5f40aa will look
on a white background.
#5f40aa Color on black background
This is how a font and box color of #5f40aa hex color will look
on a black background.