In RGB color space, #9f42d4 hex color has a red value of 159, a green value of 66 and a blue value of 212.
In CMYK color space (used in color printing), #9f42d4 hex color is composed of 25% cyan, 68.87% magenta, 0% yellow and 16.86% black.
#9f42d4 color has a hue of 278.2 degrees, a saturation of 62.93% and a lightness of 54.5%.
#9f42d4 hex color contains mainly BLUE.
The closest web safe color of #9f42d4 is #9933cc
#9f42d4 hex color has a decimal value of 10437332.
HEX | 9f42d4 | #9f42d4 |
---|---|---|
RGB | 159, 66, 212 | rgb(159, 66, 212) |
RGB Percent | 62.35, 25.88, 83.14 | rgb(62.35, 25.88, 83.14) |
CMYK | 25, 69, 0, 17 | |
HSL | 278.2°, 62.93, 54.5 | hsl(278.2, 62.93%, 54.5%) |
HSV | 278.2°, 68.9, 83.1 |
XYZ | 28.13, 16.021, 63.897 |
---|---|
Hunter Lab | 40.026, 55.402, -66.631 |
CIE-LAB | 47.002, 61.646, -58.82 |
CIE-LCH | 47.002, 85.206, 316.344 |
CIE-LUV | 25, 68.87, 0, 16.86 |
Web Safe | 9933cc |
RGB percent of color #9f42d4
CMYK percent of color #9f42d4
Text with hexadecimal color #9f42d4
This text has a font color of #9f42d4
<p style="color:#9f42d4">Text here</p>
#9f42d4 Background Color
This box has a background color of #9f42d4
<div style="background-color:#9f42d4">Text here</div>
#9f42d4 Border Color
This box has a border color of #9f42d4
<div style="border: 4px solid #9f42d4">Text here</div>
CSS codes
<p style="color:#9f42d4">Text here</p>
<div style="background-color:#9f42d4">Text here</div>
<div style="border: 4px solid #9f42d4">Text here</div>
#9f42d4 Color on white background
This is how a font and box color of #9f42d4 will look
on a white background.
#9f42d4 Color on black background
This is how a font and box color of #9f42d4 hex color will look
on a black background.