In RGB color space, #662a9d hex color has a red value of 102, a green value of 42 and a blue value of 157.
In CMYK color space (used in color printing), #662a9d hex color is composed of 35.03% cyan, 73.25% magenta, 0% yellow and 38.43% black.
#662a9d color has a hue of 271.3 degrees, a saturation of 57.79% and a lightness of 39%.
#662a9d hex color contains mainly BLUE.
The closest web safe color of #662a9d is #663399
#662a9d hex color has a decimal value of 6695581.
HEX | 662a9d | #662a9d |
---|---|---|
RGB | 102, 42, 157 | rgb(102, 42, 157) |
RGB Percent | 40, 16.47, 61.57 | rgb(40, 16.47, 61.57) |
CMYK | 35, 73, 0, 38 | |
HSL | 271.3°, 57.79, 39 | hsl(271.3, 57.79%, 39%) |
HSV | 271.3°, 73.2, 61.6 |
XYZ | 12.393, 6.915, 32.58 |
---|---|
Hunter Lab | 26.296, 38.105, -55.05 |
CIE-LAB | 31.613, 48.315, -51.68 |
CIE-LCH | 31.613, 70.747, 313.073 |
CIE-LUV | 35.03, 73.25, 0, 38.43 |
Web Safe | 663399 |
RGB percent of color #662a9d
CMYK percent of color #662a9d
Text with hexadecimal color #662a9d
This text has a font color of #662a9d
<p style="color:#662a9d">Text here</p>
#662a9d Background Color
This box has a background color of #662a9d
<div style="background-color:#662a9d">Text here</div>
#662a9d Border Color
This box has a border color of #662a9d
<div style="border: 4px solid #662a9d">Text here</div>
CSS codes
<p style="color:#662a9d">Text here</p>
<div style="background-color:#662a9d">Text here</div>
<div style="border: 4px solid #662a9d">Text here</div>
#662a9d Color on white background
This is how a font and box color of #662a9d will look
on a white background.
#662a9d Color on black background
This is how a font and box color of #662a9d hex color will look
on a black background.