In RGB color space, #662ed1 hex color has a red value of 102, a green value of 46 and a blue value of 209.
In CMYK color space (used in color printing), #662ed1 hex color is composed of 51.2% cyan, 77.99% magenta, 0% yellow and 18.04% black.
#662ed1 color has a hue of 260.6 degrees, a saturation of 63.92% and a lightness of 50%.
#662ed1 hex color contains mainly BLUE.
The closest web safe color of #662ed1 is #6633cc
#662ed1 hex color has a decimal value of 6696657.
HEX | 662ed1 | #662ed1 |
---|---|---|
RGB | 102, 46, 209 | rgb(102, 46, 209) |
RGB Percent | 40, 18.04, 81.96 | rgb(40, 18.04, 81.96) |
CMYK | 51, 78, 0, 18 | |
HSL | 260.6°, 63.92, 50 | hsl(260.6, 63.92%, 50%) |
HSV | 260.6°, 78, 82 |
XYZ | 17.965, 9.382, 61.186 |
---|---|
Hunter Lab | 30.63, 51.09, -96.996 |
CIE-LAB | 36.71, 59.749, -74.163 |
CIE-LCH | 36.71, 95.237, 308.856 |
CIE-LUV | 51.2, 77.99, 0, 18.04 |
Web Safe | 6633cc |
RGB percent of color #662ed1
CMYK percent of color #662ed1
Text with hexadecimal color #662ed1
This text has a font color of #662ed1
<p style="color:#662ed1">Text here</p>
#662ed1 Background Color
This box has a background color of #662ed1
<div style="background-color:#662ed1">Text here</div>
#662ed1 Border Color
This box has a border color of #662ed1
<div style="border: 4px solid #662ed1">Text here</div>
CSS codes
<p style="color:#662ed1">Text here</p>
<div style="background-color:#662ed1">Text here</div>
<div style="border: 4px solid #662ed1">Text here</div>
#662ed1 Color on white background
This is how a font and box color of #662ed1 will look
on a white background.
#662ed1 Color on black background
This is how a font and box color of #662ed1 hex color will look
on a black background.