In RGB color space, #420c8b hex color has a red value of 66, a green value of 12 and a blue value of 139.
In CMYK color space (used in color printing), #420c8b hex color is composed of 52.52% cyan, 91.37% magenta, 0% yellow and 45.49% black.
#420c8b color has a hue of 265.5 degrees, a saturation of 84.11% and a lightness of 29.6%.
#420c8b hex color contains mainly BLUE.
The closest web safe color of #420c8b is #330099
#420c8b hex color has a decimal value of 4328587.
HEX | 420c8b | #420c8b |
---|---|---|
RGB | 66, 12, 139 | rgb(66, 12, 139) |
RGB Percent | 25.88, 4.71, 54.51 | rgb(25.88, 4.71, 54.51) |
CMYK | 53, 91, 0, 45 | |
HSL | 265.5°, 84.11, 29.6 | hsl(265.5, 84.11%, 29.6%) |
HSV | 265.5°, 91.4, 54.5 |
XYZ | 7.038, 3.285, 24.689 |
---|---|
Hunter Lab | 18.125, 37.596, -68.077 |
CIE-LAB | 21.151, 49.828, -57.905 |
CIE-LCH | 21.151, 76.393, 310.712 |
CIE-LUV | 52.52, 91.37, 0, 45.49 |
Web Safe | 330099 |
RGB percent of color #420c8b
CMYK percent of color #420c8b
Text with hexadecimal color #420c8b
This text has a font color of #420c8b
<p style="color:#420c8b">Text here</p>
#420c8b Background Color
This box has a background color of #420c8b
<div style="background-color:#420c8b">Text here</div>
#420c8b Border Color
This box has a border color of #420c8b
<div style="border: 4px solid #420c8b">Text here</div>
CSS codes
<p style="color:#420c8b">Text here</p>
<div style="background-color:#420c8b">Text here</div>
<div style="border: 4px solid #420c8b">Text here</div>
#420c8b Color on white background
This is how a font and box color of #420c8b will look
on a white background.
#420c8b Color on black background
This is how a font and box color of #420c8b hex color will look
on a black background.