In RGB color space, #662aa2 hex color has a red value of 102, a green value of 42 and a blue value of 162.
In CMYK color space (used in color printing), #662aa2 hex color is composed of 37.04% cyan, 74.07% magenta, 0% yellow and 36.47% black.
#662aa2 color has a hue of 270 degrees, a saturation of 58.82% and a lightness of 40%.
#662aa2 hex color contains mainly BLUE.
The closest web safe color of #662aa2 is #663399
#662aa2 hex color has a decimal value of 6695586.
HEX | 662aa2 | #662aa2 |
---|---|---|
RGB | 102, 42, 162 | rgb(102, 42, 162) |
RGB Percent | 40, 16.47, 63.53 | rgb(40, 16.47, 63.53) |
CMYK | 37, 74, 0, 36 | |
HSL | 270°, 58.82, 40 | hsl(270, 58.82%, 40%) |
HSV | 270°, 74.1, 63.5 |
XYZ | 12.829, 7.089, 34.875 |
---|---|
Hunter Lab | 26.625, 39.414, -59.023 |
CIE-LAB | 32.009, 49.547, -54.067 |
CIE-LCH | 32.009, 73.336, 312.502 |
CIE-LUV | 37.04, 74.07, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #662aa2
CMYK percent of color #662aa2
Text with hexadecimal color #662aa2
This text has a font color of #662aa2
<p style="color:#662aa2">Text here</p>
#662aa2 Background Color
This box has a background color of #662aa2
<div style="background-color:#662aa2">Text here</div>
#662aa2 Border Color
This box has a border color of #662aa2
<div style="border: 4px solid #662aa2">Text here</div>
CSS codes
<p style="color:#662aa2">Text here</p>
<div style="background-color:#662aa2">Text here</div>
<div style="border: 4px solid #662aa2">Text here</div>
#662aa2 Color on white background
This is how a font and box color of #662aa2 will look
on a white background.
#662aa2 Color on black background
This is how a font and box color of #662aa2 hex color will look
on a black background.