In RGB color space, #662aa6 hex color has a red value of 102, a green value of 42 and a blue value of 166.
In CMYK color space (used in color printing), #662aa6 hex color is composed of 38.55% cyan, 74.7% magenta, 0% yellow and 34.9% black.
#662aa6 color has a hue of 269 degrees, a saturation of 59.62% and a lightness of 40.8%.
#662aa6 hex color contains mainly BLUE.
The closest web safe color of #662aa6 is #663399
#662aa6 hex color has a decimal value of 6695590.
HEX | 662aa6 | #662aa6 |
---|---|---|
RGB | 102, 42, 166 | rgb(102, 42, 166) |
RGB Percent | 40, 16.47, 65.1 | rgb(40, 16.47, 65.1) |
CMYK | 39, 75, 0, 35 | |
HSL | 269°, 59.62, 40.8 | hsl(269, 59.62%, 40.8%) |
HSV | 269°, 74.7, 65.1 |
XYZ | 13.19, 7.234, 36.777 |
---|---|
Hunter Lab | 26.896, 40.469, -62.244 |
CIE-LAB | 32.334, 50.529, -55.95 |
CIE-LCH | 32.334, 75.39, 312.086 |
CIE-LUV | 38.55, 74.7, 0, 34.9 |
Web Safe | 663399 |
RGB percent of color #662aa6
CMYK percent of color #662aa6
Text with hexadecimal color #662aa6
This text has a font color of #662aa6
<p style="color:#662aa6">Text here</p>
#662aa6 Background Color
This box has a background color of #662aa6
<div style="background-color:#662aa6">Text here</div>
#662aa6 Border Color
This box has a border color of #662aa6
<div style="border: 4px solid #662aa6">Text here</div>
CSS codes
<p style="color:#662aa6">Text here</p>
<div style="background-color:#662aa6">Text here</div>
<div style="border: 4px solid #662aa6">Text here</div>
#662aa6 Color on white background
This is how a font and box color of #662aa6 will look
on a white background.
#662aa6 Color on black background
This is how a font and box color of #662aa6 hex color will look
on a black background.