COLOR #311147

HEX: #311147 RGB: (49,17,71)

Color info

#311147 contains red, green and blue colors in about the same proportion. Web safe color of #311147 is #330033 (or #303).

RGB color model

#311147 color RGB value is (49,17,71).

RGB: (49,17,71) (19%, 7%, 28%)

RGB channels and saturation

R 49 of 255 = 19%
G 17 of 255 = 7%
B 71 of 255 = 28%

49
17
71

R + G + B ~ 18%. #311147 is dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 17 + 71 = 137 (100%)
R 49 of 137 ~ 35.77%
G 17 of 137 ~ 12.41%
B 71 of 137 ~ 51.82'%

%35.77
%12.41
%51.82

CMYK color model

#311147 color CMYK value is (31,76,0,72).

  • cyan value is 30.99%
  • magenta value is 76.06%
  • yellow value is 0.00%
  • key color value is 72.16%

CMYK: (31,76,0,72)
C31M76Y0K72 (31%, 76%, 0%, 72%)
(0.31 / 0.76 / 0.00 / 0.72)

CMYK percentages

%30.99
%76.06
%0
%72.16

Codes

Color #311147 in popluar color models

31 11 47
RGB 49 17 71
HSL 276° 61.36% 17.25%
HSB/HSV 276° 76.06% 27.84%
CMYK 30.99% 76.06% 0.00%
72.16%

Color #311147 in popluar number systems.

HEX 31 11 47
Decimal 49 17 71
Binary 110001 10001 1000111
Octal 61 21 107

Shades and tints

Shades of #311147

#311147
(49,17,71)
#2D1041
(45,16,65)
#290F3B
(41,15,59)
#250E35
(37,14,53)
#210D2F
(33,13,47)
#1D0C29
(29,12,41)
#190B23
(25,11,35)
#150A1D
(21,10,29)
#110917
(17,9,23)
#0D0811
(13,8,17)
#09070B
(9,7,11)
#000000
(0,0,0)

Tints of #311147

#311147
(49,17,71)
#432657
(67,38,87)
#553B67
(85,59,103)
#675077
(103,80,119)
#796587
(121,101,135)
#8B7A97
(139,122,151)
#9D8FA7
(157,143,167)
#AFA4B7
(175,164,183)
#C1B9C7
(193,185,199)
#D3CED7
(211,206,215)
#E5E3E7
(229,227,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #311147 color. Also use rgb(49,17,71) instead hex code.

Text Font Color

.myTextColor { color: #311147; }

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

This text font color is #311147.

Background Color

.myBgColor { background-color: #311147; }

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

This div background color is #311147.

Border color

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

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

This div border color is #311147.

Opacity

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

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

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

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

This text has shadow with #311147 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #311147.

Preview

Color preview on black background

This text has color #311147 on black background.


Color preview on white background

This text has color #311147 on white background.


Black color preview on #311147 background

This text has black color on #311147 background.


White color preview on #311147 background

This text has white color on #311147 background.


Related colors

Complementary color

Complementary color for #hex is #CEEEB8.


I love getcolorcode.com

Triadic colors

1 #473111 and #114731 with #311147 are triadic colors.

2 #471131 and #113147 with #311147 are triadic colors.