In RGB color space, #9f42c6 hex color has a red value of 159, a green value of 66 and a blue value of 198.
In CMYK color space (used in color printing), #9f42c6 hex color is composed of 19.7% cyan, 66.67% magenta, 0% yellow and 22.35% black.
#9f42c6 color has a hue of 282.3 degrees, a saturation of 53.66% and a lightness of 51.8%.
#9f42c6 hex color contains mainly BLUE.
The closest web safe color of #9f42c6 is #9933cc
#9f42c6 hex color has a decimal value of 10437318.
HEX | 9f42c6 | #9f42c6 |
---|---|---|
RGB | 159, 66, 198 | rgb(159, 66, 198) |
RGB Percent | 62.35, 25.88, 77.65 | rgb(62.35, 25.88, 77.65) |
CMYK | 20, 67, 0, 22 | |
HSL | 282.3°, 53.66, 51.8 | hsl(282.3, 53.66%, 51.8%) |
HSV | 282.3°, 66.7, 77.6 |
XYZ | 26.439, 15.345, 54.994 |
---|---|
Hunter Lab | 39.173, 51.924, -55.816 |
CIE-LAB | 46.103, 58.706, -52.201 |
CIE-LCH | 46.103, 78.558, 318.357 |
CIE-LUV | 19.7, 66.67, 0, 22.35 |
Web Safe | 9933cc |
RGB percent of color #9f42c6
CMYK percent of color #9f42c6
Text with hexadecimal color #9f42c6
This text has a font color of #9f42c6
<p style="color:#9f42c6">Text here</p>
#9f42c6 Background Color
This box has a background color of #9f42c6
<div style="background-color:#9f42c6">Text here</div>
#9f42c6 Border Color
This box has a border color of #9f42c6
<div style="border: 4px solid #9f42c6">Text here</div>
CSS codes
<p style="color:#9f42c6">Text here</p>
<div style="background-color:#9f42c6">Text here</div>
<div style="border: 4px solid #9f42c6">Text here</div>
#9f42c6 Color on white background
This is how a font and box color of #9f42c6 will look
on a white background.
#9f42c6 Color on black background
This is how a font and box color of #9f42c6 hex color will look
on a black background.