COLOR #311566

HEX: #311566 RGB: (49,21,102)

Color info

#311566 contains mainly red and blue colors. Web safe color of #311566 is #330066 (or #306).

RGB color model

#311566 color RGB value is (49,21,102).

RGB: (49,21,102) (19%, 8%, 40%)

RGB channels and saturation

R 49 of 255 = 19%
G 21 of 255 = 8%
B 102 of 255 = 40%

49
21
102

R + G + B ~ 22%. #311566 is dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 21 + 102 = 172 (100%)
R 49 of 172 ~ 28.49%
G 21 of 172 ~ 12.21%
B 102 of 172 ~ 59.3'%

%28.49
%12.21
%59.3

CMYK color model

#311566 color CMYK value is (52,79,0,60).

  • cyan value is 51.96%
  • magenta value is 79.41%
  • yellow value is 0.00%
  • key color value is 60.00%
CMYK: (52,79,0,60) C52M79Y0K60 (52%,79%,0%,60%) (0.52/0.79/0.00/0.60) 

CMYK percentages

%51.96
%79.41
%0
%60

Codes

Color #311566 in popluar color models

31 15 66
RGB 49 21 102
HSL 261° 65.85% 24.12%
HSB/HSV 261° 79.41% 40.00%
CMYK 51.96% 79.41% 0.00%
60.00%

Color #311566 in popluar number systems.

HEX 31 15 66
Decimal 49 21 102
Binary 110001 10101 1100110
Octal 61 25 146

Shades and tints

Shades of #311566

#311566
(49,21,102)
#2D145D
(45,20,93)
#291354
(41,19,84)
#25124B
(37,18,75)
#211142
(33,17,66)
#1D1039
(29,16,57)
#190F30
(25,15,48)
#150E27
(21,14,39)
#110D1E
(17,13,30)
#0D0C15
(13,12,21)
#090B0C
(9,11,12)
#000000
(0,0,0)

Tints of #311566

#311566
(49,21,102)
#432A73
(67,42,115)
#553F80
(85,63,128)
#67548D
(103,84,141)
#79699A
(121,105,154)
#8B7EA7
(139,126,167)
#9D93B4
(157,147,180)
#AFA8C1
(175,168,193)
#C1BDCE
(193,189,206)
#D3D2DB
(211,210,219)
#E5E7E8
(229,231,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #311566 color. Also use rgb(49,21,102) instead hex code.

Text Font Color

.myTextColor { color: #311566; }

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

This text font color is #311566.

Background Color

.myBgColor { background-color: #311566; }

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

This div background color is #311566.

Border color

.myBorderColor { border: 1px solid #311566; }

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

This div border color is #311566.

Opacity

.myOpacity80 { color: #311566; opacity: 0.8; }

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

Text with #311566 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 #311566;}

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

This text has shadow with #311566 color.


.textShadow {text-shadow: 3px 3px 1px #311566', 3px 3px 1px red;}

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

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


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

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

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

Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #311566; -webkit-box-shadow: 1px 1px 3px 2px #311566; box-shadow:1px 1px 3px 2px #311566;">
Div content here
</div>

This div box has shadow with color #311566.

Preview

Color preview on black background

This text has color #311566 on black background.


Color preview on white background

This text has color #311566 on white background.


Black color preview on #311566 background

This text has black color on #311566 background.


White color preview on #311566 background

This text has white color on #311566 background.


Related colors

Complementary color

Complementary color for #hex is #CEEA99.


I love getcolorcode.com

Triadic colors

1 #663115 and #156631 with #311566 are triadic colors.

2 #661531 and #153166 with #311566 are triadic colors.