In RGB color space, #420ea1 hex color has a red value of 66, a green value of 14 and a blue value of 161.
In CMYK color space (used in color printing), #420ea1 hex color is composed of 59.01% cyan, 91.3% magenta, 0% yellow and 36.86% black.
#420ea1 color has a hue of 261.2 degrees, a saturation of 84% and a lightness of 34.3%.
#420ea1 hex color contains mainly BLUE.
The closest web safe color of #420ea1 is #330099
#420ea1 hex color has a decimal value of 4329121.
HEX | 420ea1 | #420ea1 |
---|---|---|
RGB | 66, 14, 161 | rgb(66, 14, 161) |
RGB Percent | 25.88, 5.49, 63.14 | rgb(25.88, 5.49, 63.14) |
CMYK | 59, 91, 0, 37 | |
HSL | 261.2°, 84, 34.3 | hsl(261.2, 84%, 34.3%) |
HSV | 261.2°, 91.3, 63.1 |
XYZ | 8.837, 4.046, 34.033 |
---|---|
Hunter Lab | 20.115, 43.22, -86.235 |
CIE-LAB | 23.823, 54.862, -67.07 |
CIE-LCH | 23.823, 86.65, 309.283 |
CIE-LUV | 59.01, 91.3, 0, 36.86 |
Web Safe | 330099 |
RGB percent of color #420ea1
CMYK percent of color #420ea1
Text with hexadecimal color #420ea1
This text has a font color of #420ea1
<p style="color:#420ea1">Text here</p>
#420ea1 Background Color
This box has a background color of #420ea1
<div style="background-color:#420ea1">Text here</div>
#420ea1 Border Color
This box has a border color of #420ea1
<div style="border: 4px solid #420ea1">Text here</div>
CSS codes
<p style="color:#420ea1">Text here</p>
<div style="background-color:#420ea1">Text here</div>
<div style="border: 4px solid #420ea1">Text here</div>
#420ea1 Color on white background
This is how a font and box color of #420ea1 will look
on a white background.
#420ea1 Color on black background
This is how a font and box color of #420ea1 hex color will look
on a black background.