Html Css Color HEX #5A31A6 Royal Purple

📋 copy color: '#5A31A6'

red 90 ◦ green 49 ◦ blue 166

#5A31A6
Download Color Icon.PNG:
16x16 32x32 64x64 128x128 256x256

Shades of Royal Purple #5A31A6

Tints of Royal Purple #5A31A6

RGB

 RED value IS 90 (35.55% from 255) = 29.51%

 GREEN value IS 49 (19.53% from 255) = 16.07%

 BLUE value IS 166 (65.23% from 255) = 54.43%

R = 29.51%
G = 16.07%
B = 54.43%

CMYK

 C value IS 0.46

 M value IS 0.70

 Y value IS 0

 K value IS 0.35

RGB Variations

RGB:
RBG:
GRB:
GBR:
BRG:
BGR:

Color information

#5A31A6 (or 0x5A31A6) is known color: Royal Purple. HEX triplet: 5A, 31 and A6. RGB value is (90,49,166). Sum of RGB (Red+Green+Blue) = 90+49+166=305 (40% of max value = 765). Red value is 90 (35.55% from 255 or 29.51% from 305); Green value is 49 (19.53% from 255 or 16.07% from 305); Blue value is 166 (65.23% from 255 or 54.43% from 305); Max value from RGB is 166 - color contains mainly: blue. Hex color #5A31A6 is not a web safe color. Web safe color analog (approx): #663399. Inversed color of #5A31A6 is #A5CE59. Grayscale: #4A4A4A. Windows color (decimal): -10866266 or 10891610. OLE color: 10891610.

HSL color Cylindrical-coordinate representation of color #5A31A6: hue angle of 261.03º degrees, saturation: 0.54, lightness: 0.42%. HSV value (or HSB Brightness) of color is 0.65% and HSV saturation: 0.7%. Process color model (Four color, CMYK) of #5A31A6 is Cyan = 0.46, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.35.

Color convert

RGB 90 49 166 -
CMYK 0.46 0.70 0 0.35
HSL 261.03º 0.54% 0.42% -
HSV(B) 261.03º 0.7% 0.65% -
XYZ 12.2 7.12 36.81 -
YUV 74.6 179.58 138.99 -
System Red Green Blue C M Y K H S L
Decimal 90 49 166 0.46 0.70 0 0.35 261.03 0.54 0.42
Hex 5A 31 A6 2E 46 0 23 105 36 2A
Octal 132 61 246 56 106 0 43 405 66 52
Binary 1011010 110001 10100110 101110 1000110 0 100011 100000101 110110 101010

Color Harmonies of #5A31A6

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #5A31A6

Black with #5A31A6

Text Example


Text Example

White with #5A31A6

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #5A31A6; }

 p { color: rgb(90,49,166); }

 H1.HeaderClassName
 {
   color: #5A31A6;
 }
 .AnyTagClassName
 {
   color: #5A31A6;
 }
</style>

background-color css

<style>
 a { background-color: #5A31A6; }

 a { background-color: rgb(90,49,166); }

 div.DivClassName
 {
   background-color: #5A31A6;
 }
 .BgClassName
 {
   background-color: #5A31A6;
 }
</style>

border-color css

<style>
 span { border-color: #5A31A6; }

 span { border-color: rgb(90,49,166); }

 td.TdClassName
 {
   border-color: #5A31A6;
 }
 .TagClassName
 {
   border-color: #5A31A6;
 }
</style>