Shades of Royal Purple #662E98
Tints of Royal Purple #662E98
RGB
CMYK
RGB Variations
Color information
#662E98 (or 0x662E98) is known color: Royal Purple. HEX triplet: 66, 2E and 98. RGB value is (102,46,152). Sum of RGB (Red+Green+Blue) = 102+46+152=300 (39% of max value = 765). Red value is 102 (40.23% from 255 or 34% from 300); Green value is 46 (18.36% from 255 or 15.33% from 300); Blue value is 152 (59.77% from 255 or 50.67% from 300); Max value from RGB is 152 - color contains mainly: blue. Hex color #662E98 is not a web safe color. Web safe color analog (approx): #663399. Inversed color of #662E98 is #99D167. Grayscale: #4A4A4A. Windows color (decimal): -10080616 or 9973350. OLE color: 9973350.
HSL color Cylindrical-coordinate representation of color #662E98: hue angle of 271.7º degrees, saturation: 0.54, lightness: 0.39%. HSV value (or HSB Brightness) of color is 0.6% and HSV saturation: 0.7%. Process color model (Four color, CMYK) of #662E98 is Cyan = 0.33, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.40.
Color convert
| RGB | 102 | 46 | 152 | - |
| CMYK | 0.33 | 0.70 | 0 | 0.40 |
| HSL | 271.7º | 0.54% | 0.39% | - |
| HSV(B) | 271.7º | 0.7% | 0.6% | - |
| XYZ | 12.12 | 7.05 | 30.43 | - |
| YUV | 74.83 | 171.55 | 147.38 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 102 | 46 | 152 | 0.33 | 0.70 | 0 | 0.40 | 271.7 | 0.54 | 0.39 |
| Hex | 66 | 2E | 98 | 21 | 46 | 0 | 28 | 110 | 36 | 27 |
| Octal | 146 | 56 | 230 | 41 | 106 | 0 | 50 | 420 | 66 | 47 |
| Binary | 1100110 | 101110 | 10011000 | 100001 | 1000110 | 0 | 101000 | 100010000 | 110110 | 100111 |
Color Harmonies of #662E98
Complementary color
Monochromatic Colors of #662E98
Black with #662E98
Text Example
Text Example
White with #662E98
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #662E98; }
p { color: rgb(102,46,152); }
H1.HeaderClassName
{
color: #662E98;
}
.AnyTagClassName
{
color: #662E98;
}
</style>
background-color css
<style>
a { background-color: #662E98; }
a { background-color: rgb(102,46,152); }
div.DivClassName
{
background-color: #662E98;
}
.BgClassName
{
background-color: #662E98;
}
</style>
border-color css
<style>
span { border-color: #662E98; }
span { border-color: rgb(102,46,152); }
td.TdClassName
{
border-color: #662E98;
}
.TagClassName
{
border-color: #662E98;
}
</style>