In RGB color space, #9f42c2 hex color has a red value of 159, a green value of 66 and a blue value of 194.
In CMYK color space (used in color printing), #9f42c2 hex color is composed of 18.04% cyan, 65.98% magenta, 0% yellow and 23.92% black.
#9f42c2 color has a hue of 283.6 degrees, a saturation of 51.2% and a lightness of 51%.
#9f42c2 hex color contains mainly BLUE.
The closest web safe color of #9f42c2 is #9933cc
#9f42c2 hex color has a decimal value of 10437314.
HEX | 9f42c2 | #9f42c2 |
---|---|---|
RGB | 159, 66, 194 | rgb(159, 66, 194) |
RGB Percent | 62.35, 25.88, 76.08 | rgb(62.35, 25.88, 76.08) |
CMYK | 18, 66, 0, 24 | |
HSL | 283.6°, 51.2, 51 | hsl(283.6, 51.2%, 51%) |
HSV | 283.6°, 66, 76.1 |
XYZ | 25.984, 15.162, 52.596 |
---|---|
Hunter Lab | 38.938, 50.973, -52.829 |
CIE-LAB | 45.855, 57.891, -50.279 |
CIE-LCH | 45.855, 76.677, 319.025 |
CIE-LUV | 18.04, 65.98, 0, 23.92 |
Web Safe | 9933cc |
RGB percent of color #9f42c2
CMYK percent of color #9f42c2
Text with hexadecimal color #9f42c2
This text has a font color of #9f42c2
<p style="color:#9f42c2">Text here</p>
#9f42c2 Background Color
This box has a background color of #9f42c2
<div style="background-color:#9f42c2">Text here</div>
#9f42c2 Border Color
This box has a border color of #9f42c2
<div style="border: 4px solid #9f42c2">Text here</div>
CSS codes
<p style="color:#9f42c2">Text here</p>
<div style="background-color:#9f42c2">Text here</div>
<div style="border: 4px solid #9f42c2">Text here</div>
#9f42c2 Color on white background
This is how a font and box color of #9f42c2 will look
on a white background.
#9f42c2 Color on black background
This is how a font and box color of #9f42c2 hex color will look
on a black background.