In RGB color space, #9f40a6 hex color has a red value of 159, a green value of 64 and a blue value of 166.
In CMYK color space (used in color printing), #9f40a6 hex color is composed of 4.22% cyan, 61.45% magenta, 0% yellow and 34.9% black.
#9f40a6 color has a hue of 295.9 degrees, a saturation of 44.35% and a lightness of 45.1%.
#9f40a6 hex color contains mainly BLUE.
The closest web safe color of #9f40a6 is #993399
#9f40a6 hex color has a decimal value of 10436774.
HEX | 9f40a6 | #9f40a6 |
---|---|---|
RGB | 159, 64, 166 | rgb(159, 64, 166) |
RGB Percent | 62.35, 25.1, 65.1 | rgb(62.35, 25.1, 65.1) |
CMYK | 4, 61, 0, 35 | |
HSL | 295.9°, 44.35, 45.1 | hsl(295.9, 44.35%, 45.1%) |
HSV | 295.9°, 61.4, 65.1 |
XYZ | 23.014, 13.791, 37.525 |
---|---|
Hunter Lab | 37.136, 45.631, -33.915 |
CIE-LAB | 43.932, 53.315, -36.892 |
CIE-LCH | 43.932, 64.834, 325.318 |
CIE-LUV | 4.22, 61.45, 0, 34.9 |
Web Safe | 993399 |
RGB percent of color #9f40a6
CMYK percent of color #9f40a6
Text with hexadecimal color #9f40a6
This text has a font color of #9f40a6
<p style="color:#9f40a6">Text here</p>
#9f40a6 Background Color
This box has a background color of #9f40a6
<div style="background-color:#9f40a6">Text here</div>
#9f40a6 Border Color
This box has a border color of #9f40a6
<div style="border: 4px solid #9f40a6">Text here</div>
CSS codes
<p style="color:#9f40a6">Text here</p>
<div style="background-color:#9f40a6">Text here</div>
<div style="border: 4px solid #9f40a6">Text here</div>
#9f40a6 Color on white background
This is how a font and box color of #9f40a6 will look
on a white background.
#9f40a6 Color on black background
This is how a font and box color of #9f40a6 hex color will look
on a black background.