Shades of Royal Purple #5A2FA8
Tints of Royal Purple #5A2FA8
RGB
CMYK
RGB Variations
Color information
#5A2FA8 (or 0x5A2FA8) is known color: Royal Purple. HEX triplet: 5A, 2F and A8. RGB value is (90,47,168). Sum of RGB (Red+Green+Blue) = 90+47+168=305 (40% of max value = 765). Red value is 90 (35.55% from 255 or 29.51% from 305); Green value is 47 (18.75% from 255 or 15.41% from 305); Blue value is 168 (66.02% from 255 or 55.08% from 305); Max value from RGB is 168 - color contains mainly: blue. Hex color #5A2FA8 is not a web safe color. Web safe color analog (approx): #663399. Inversed color of #5A2FA8 is #A5D057. Grayscale: #494949. Windows color (decimal): -10866776 or 11022170. OLE color: 11022170.
HSL color Cylindrical-coordinate representation of color #5A2FA8: hue angle of 261.32º degrees, saturation: 0.56, lightness: 0.42%. HSV value (or HSB Brightness) of color is 0.66% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #5A2FA8 is Cyan = 0.46, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.34.
Color convert
| RGB | 90 | 47 | 168 | - |
| CMYK | 0.46 | 0.72 | 0 | 0.34 |
| HSL | 261.32º | 0.56% | 0.42% | - |
| HSV(B) | 261.32º | 0.72% | 0.66% | - |
| XYZ | 12.3 | 7.03 | 37.76 | - |
| YUV | 73.65 | 181.25 | 139.66 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 90 | 47 | 168 | 0.46 | 0.72 | 0 | 0.34 | 261.32 | 0.56 | 0.42 |
| Hex | 5A | 2F | A8 | 2E | 48 | 0 | 22 | 105 | 38 | 2A |
| Octal | 132 | 57 | 250 | 56 | 110 | 0 | 42 | 405 | 70 | 52 |
| Binary | 1011010 | 101111 | 10101000 | 101110 | 1001000 | 0 | 100010 | 100000101 | 111000 | 101010 |
Color Harmonies of #5A2FA8
Complementary color
Monochromatic Colors of #5A2FA8
Black with #5A2FA8
Text Example
Text Example
White with #5A2FA8
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #5A2FA8; }
p { color: rgb(90,47,168); }
H1.HeaderClassName
{
color: #5A2FA8;
}
.AnyTagClassName
{
color: #5A2FA8;
}
</style>
background-color css
<style>
a { background-color: #5A2FA8; }
a { background-color: rgb(90,47,168); }
div.DivClassName
{
background-color: #5A2FA8;
}
.BgClassName
{
background-color: #5A2FA8;
}
</style>
border-color css
<style>
span { border-color: #5A2FA8; }
span { border-color: rgb(90,47,168); }
td.TdClassName
{
border-color: #5A2FA8;
}
.TagClassName
{
border-color: #5A2FA8;
}
</style>