In RGB color space, #9e40c4 hex color has a red value of 158, a green value of 64 and a blue value of 196.
In CMYK color space (used in color printing), #9e40c4 hex color is composed of 19.39% cyan, 67.35% magenta, 0% yellow and 23.14% black.
#9e40c4 color has a hue of 282.7 degrees, a saturation of 52.8% and a lightness of 51%.
#9e40c4 hex color contains mainly BLUE.
The closest web safe color of #9e40c4 is #9933cc
#9e40c4 hex color has a decimal value of 10371268.
HEX | 9e40c4 | #9e40c4 |
---|---|---|
RGB | 158, 64, 196 | rgb(158, 64, 196) |
RGB Percent | 61.96, 25.1, 76.86 | rgb(61.96, 25.1, 76.86) |
CMYK | 19, 67, 0, 23 | |
HSL | 282.7°, 52.8, 51 | hsl(282.7, 52.8%, 51%) |
HSV | 282.7°, 67.3, 76.9 |
XYZ | 25.898, 14.921, 53.74 |
---|---|
Hunter Lab | 38.628, 52.077, -55.447 |
CIE-LAB | 45.526, 58.953, -51.976 |
CIE-LCH | 45.526, 78.594, 318.599 |
CIE-LUV | 19.39, 67.35, 0, 23.14 |
Web Safe | 9933cc |
RGB percent of color #9e40c4
CMYK percent of color #9e40c4
Text with hexadecimal color #9e40c4
This text has a font color of #9e40c4
<p style="color:#9e40c4">Text here</p>
#9e40c4 Background Color
This box has a background color of #9e40c4
<div style="background-color:#9e40c4">Text here</div>
#9e40c4 Border Color
This box has a border color of #9e40c4
<div style="border: 4px solid #9e40c4">Text here</div>
CSS codes
<p style="color:#9e40c4">Text here</p>
<div style="background-color:#9e40c4">Text here</div>
<div style="border: 4px solid #9e40c4">Text here</div>
#9e40c4 Color on white background
This is how a font and box color of #9e40c4 will look
on a white background.
#9e40c4 Color on black background
This is how a font and box color of #9e40c4 hex color will look
on a black background.