In RGB color space, #662fa6 hex color has a red value of 102, a green value of 47 and a blue value of 166.
In CMYK color space (used in color printing), #662fa6 hex color is composed of 38.55% cyan, 71.69% magenta, 0% yellow and 34.9% black.
#662fa6 color has a hue of 267.7 degrees, a saturation of 55.87% and a lightness of 41.8%.
#662fa6 hex color contains mainly BLUE.
The closest web safe color of #662fa6 is #663399
#662fa6 hex color has a decimal value of 6696870.
HEX | 662fa6 | #662fa6 |
---|---|---|
RGB | 102, 47, 166 | rgb(102, 47, 166) |
RGB Percent | 40, 18.43, 65.1 | rgb(40, 18.43, 65.1) |
CMYK | 39, 72, 0, 35 | |
HSL | 267.7°, 55.87, 41.8 | hsl(267.7, 55.87%, 41.8%) |
HSV | 267.7°, 71.7, 65.1 |
XYZ | 13.379, 7.611, 36.84 |
---|---|
Hunter Lab | 27.588, 38.286, -59.862 |
CIE-LAB | 33.159, 48.202, -54.606 |
CIE-LCH | 33.159, 72.837, 311.436 |
CIE-LUV | 38.55, 71.69, 0, 34.9 |
Web Safe | 663399 |
RGB percent of color #662fa6
CMYK percent of color #662fa6
Text with hexadecimal color #662fa6
This text has a font color of #662fa6
<p style="color:#662fa6">Text here</p>
#662fa6 Background Color
This box has a background color of #662fa6
<div style="background-color:#662fa6">Text here</div>
#662fa6 Border Color
This box has a border color of #662fa6
<div style="border: 4px solid #662fa6">Text here</div>
CSS codes
<p style="color:#662fa6">Text here</p>
<div style="background-color:#662fa6">Text here</div>
<div style="border: 4px solid #662fa6">Text here</div>
#662fa6 Color on white background
This is how a font and box color of #662fa6 will look
on a white background.
#662fa6 Color on black background
This is how a font and box color of #662fa6 hex color will look
on a black background.