COLOR #6A31A2

HEX: #6A31A2
RGB: (106,49,162)

Color info

#6A31A2 contains mainly red and blue colors. Web safe color of #6A31A2 is #663399 (or #639).

RGB color model

#6A31A2 color RGB value is (106,49,162).

  • red value is 106;
  • green value is 49;
  • blue value is 162.
RGB:
(106,49,162)
(42%,19%,64%)

RGB channels and saturation

R 106 of 255 = 42%
G 49 of 255 = 19%
B 162 of 255 = 64%

106
49
162

R + G + B ~ 42%. #6A31A2 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
106 + 49 + 162 = 317 (100%)
R 106 of 317 ~ 33.44%
G 49 of 317 ~ 15.46%
B 162 of 317 ~ 51.1%

%33.44
%15.46
%51.1

CMYK color model

#6A31A2 color CMYK value is (35,70,0,36).

  • cyan value is 34.57%
  • magenta value is 69.75%
  • yellow value is 0.00%
  • key color value is 36.47%
CMYK:
(35,70,0,36)
C35M70Y0K36 
(35%,70%,0%,36%)
(0.35/0.70/0.00/0.36)	

CMYK percentages

%34.57
%69.75
%0
%36.47

Codes

Color #6A31A2 in popluar color models

6A31A2
RGB10649162
HSL270°53.55%41.37%
HSB/HSV270°69.75%63.53%
CMYK34.57%69.75%0.00%
36.47%

Color #6A31A2 in popluar number systems.

HEX6A31A2
Decimal10649162
Binary110101011000110100010
Octal15261242

Shades and tints

Shades of #6A31A2

#6A31A2
(106,49,162)
#612D94
(97,45,148)
#582986
(88,41,134)
#4F2578
(79,37,120)
#46216A
(70,33,106)
#3D1D5C
(61,29,92)
#34194E
(52,25,78)
#2B1540
(43,21,64)
#221132
(34,17,50)
#190D24
(25,13,36)
#100916
(16,9,22)
#000000
(0,0,0)

Tints of #6A31A2

#6A31A2
(106,49,162)
#7743AA
(119,67,170)
#8455B2
(132,85,178)
#9167BA
(145,103,186)
#9E79C2
(158,121,194)
#AB8BCA
(171,139,202)
#B89DD2
(184,157,210)
#C5AFDA
(197,175,218)
#D2C1E2
(210,193,226)
#DFD3EA
(223,211,234)
#ECE5F2
(236,229,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #6A31A2 color. Also use rgb(106,49,162) instead hex code.

Text Font Color

.myTextColor { color: #6A31A2; }

<p style="color:#6A31A2">This sample text font color is #6A31A2.</p>

This text font color is #6A31A2.


Background Color

.myBgColor { background-color: #6A31A2; }

<div style="background-color:#6A31A2">Inner text</div>

This div background color is #6A31A2.


Border color

.myBorderColor { border: 1px solid #6A31A2; }

<div style="border:3px solid #6A31A2">Div</div>

This div border color is #6A31A2.


Opacity

.myOpacity80 { color: #6A31A2; opacity: 0.8; }

<p style="color:#6A31A2;opacity:0.8;">80%</p>

Text with #6A31A2 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #6A31A2;}

<p style="text-shadow: 3px 3px 1px #6A31A2">Text here.</p>

This text has shadow with #6A31A2 color.

.textShadow {text-shadow: 3px 3px 1px #6A31A2, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #6A31A2, 5px 5px 20px red">Text here.</p>

This text has shadow with #6A31A2 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6A31A2, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#6A31A2, Direction=45, Strength=4)">Text</p>

This text has shadow with #6A31A2 and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #6A31A2;
  -webkit-box-shadow:	1px 1px 3px 2px #6A31A2;
  box-shadow:		1px 1px 3px 2px #6A31A2;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #6A31A2;
-webkit-box-shadow: 1px 1px 3px 2px #6A31A2;
box-shadow:1px 1px 3px 2px #6A31A2;">
Div content here</div>
This div box has shadow with color #6A31A2.

Preview

Color preview on black background

This text has color #6A31A2 on black background.


Color preview on white background

This text has color #6A31A2 on white background.



Black color preview on #6A31A2 background

This text has black color on #6A31A2 background.


White color preview on #6A31A2 background

This text has white color on #6A31A2 background.