In RGB color space, #842fb1 hex color has a red value of 132, a green value of 47 and a blue value of 177.
In CMYK color space (used in color printing), #842fb1 hex color is composed of 25.42% cyan, 73.45% magenta, 0% yellow and 30.59% black.
#842fb1 color has a hue of 279.2 degrees, a saturation of 58.04% and a lightness of 43.9%.
#842fb1 hex color contains mainly BLUE.
The closest web safe color of #842fb1 is #993399
#842fb1 hex color has a decimal value of 8662961.
HEX | 842fb1 | #842fb1 |
---|---|---|
RGB | 132, 47, 177 | rgb(132, 47, 177) |
RGB Percent | 51.76, 18.43, 69.41 | rgb(51.76, 18.43, 69.41) |
CMYK | 25, 73, 0, 31 | |
HSL | 279.2°, 58.04, 43.9 | hsl(279.2, 58.04%, 43.9%) |
HSV | 279.2°, 73.4, 69.4 |
XYZ | 18.468, 10.113, 42.574 |
---|---|
Hunter Lab | 31.801, 48.01, -57.115 |
CIE-LAB | 38.044, 56.649, -53.068 |
CIE-LCH | 38.044, 77.623, 316.869 |
CIE-LUV | 25.42, 73.45, 0, 30.59 |
Web Safe | 993399 |
RGB percent of color #842fb1
CMYK percent of color #842fb1
Text with hexadecimal color #842fb1
This text has a font color of #842fb1
<p style="color:#842fb1">Text here</p>
#842fb1 Background Color
This box has a background color of #842fb1
<div style="background-color:#842fb1">Text here</div>
#842fb1 Border Color
This box has a border color of #842fb1
<div style="border: 4px solid #842fb1">Text here</div>
CSS codes
<p style="color:#842fb1">Text here</p>
<div style="background-color:#842fb1">Text here</div>
<div style="border: 4px solid #842fb1">Text here</div>
#842fb1 Color on white background
This is how a font and box color of #842fb1 will look
on a white background.
#842fb1 Color on black background
This is how a font and box color of #842fb1 hex color will look
on a black background.