In RGB color space, #9e40b3 hex color has a red value of 158, a green value of 64 and a blue value of 179.
In CMYK color space (used in color printing), #9e40b3 hex color is composed of 11.73% cyan, 64.25% magenta, 0% yellow and 29.8% black.
#9e40b3 color has a hue of 289 degrees, a saturation of 47.33% and a lightness of 47.6%.
#9e40b3 hex color contains mainly BLUE.
The closest web safe color of #9e40b3 is #9933cc
#9e40b3 hex color has a decimal value of 10371251.
HEX | 9e40b3 | #9e40b3 |
---|---|---|
RGB | 158, 64, 179 | rgb(158, 64, 179) |
RGB Percent | 61.96, 25.1, 70.2 | rgb(61.96, 25.1, 70.2) |
CMYK | 12, 64, 0, 30 | |
HSL | 289°, 47.33, 47.6 | hsl(289, 47.33%, 47.6%) |
HSV | 289°, 64.2, 70.2 |
XYZ | 24.071, 14.191, 44.118 |
---|---|
Hunter Lab | 37.671, 48.134, -43.067 |
CIE-LAB | 44.506, 55.541, -43.676 |
CIE-LCH | 44.506, 70.657, 321.819 |
CIE-LUV | 11.73, 64.25, 0, 29.8 |
Web Safe | 9933cc |
RGB percent of color #9e40b3
CMYK percent of color #9e40b3
Text with hexadecimal color #9e40b3
This text has a font color of #9e40b3
<p style="color:#9e40b3">Text here</p>
#9e40b3 Background Color
This box has a background color of #9e40b3
<div style="background-color:#9e40b3">Text here</div>
#9e40b3 Border Color
This box has a border color of #9e40b3
<div style="border: 4px solid #9e40b3">Text here</div>
CSS codes
<p style="color:#9e40b3">Text here</p>
<div style="background-color:#9e40b3">Text here</div>
<div style="border: 4px solid #9e40b3">Text here</div>
#9e40b3 Color on white background
This is how a font and box color of #9e40b3 will look
on a white background.
#9e40b3 Color on black background
This is how a font and box color of #9e40b3 hex color will look
on a black background.