In RGB color space, #9e40dc hex color has a red value of 158, a green value of 64 and a blue value of 220.
In CMYK color space (used in color printing), #9e40dc hex color is composed of 28.18% cyan, 70.91% magenta, 0% yellow and 13.73% black.
#9e40dc color has a hue of 276.2 degrees, a saturation of 69.03% and a lightness of 55.7%.
#9e40dc hex color contains mainly BLUE.
The closest web safe color of #9e40dc is #9933cc
#9e40dc hex color has a decimal value of 10371292.
HEX | 9e40dc | #9e40dc |
---|---|---|
RGB | 158, 64, 220 | rgb(158, 64, 220) |
RGB Percent | 61.96, 25.1, 86.27 | rgb(61.96, 25.1, 86.27) |
CMYK | 28, 71, 0, 14 | |
HSL | 276.2°, 69.03, 55.7 | hsl(276.2, 69.03%, 55.7%) |
HSV | 276.2°, 70.9, 86.3 |
XYZ | 28.852, 16.103, 69.298 |
---|---|
Hunter Lab | 40.129, 58.115, -74.298 |
CIE-LAB | 47.109, 64.01, -63.226 |
CIE-LCH | 47.109, 89.971, 315.353 |
CIE-LUV | 28.18, 70.91, 0, 13.73 |
Web Safe | 9933cc |
RGB percent of color #9e40dc
CMYK percent of color #9e40dc
Text with hexadecimal color #9e40dc
This text has a font color of #9e40dc
<p style="color:#9e40dc">Text here</p>
#9e40dc Background Color
This box has a background color of #9e40dc
<div style="background-color:#9e40dc">Text here</div>
#9e40dc Border Color
This box has a border color of #9e40dc
<div style="border: 4px solid #9e40dc">Text here</div>
CSS codes
<p style="color:#9e40dc">Text here</p>
<div style="background-color:#9e40dc">Text here</div>
<div style="border: 4px solid #9e40dc">Text here</div>
#9e40dc Color on white background
This is how a font and box color of #9e40dc will look
on a white background.
#9e40dc Color on black background
This is how a font and box color of #9e40dc hex color will look
on a black background.