COLOR #311533

HEX: #311533 RGB: (49,21,51)

Color info

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

RGB color model

#311533 color RGB value is (49,21,51).

RGB: (49,21,51) (19%, 8%, 20%)

RGB channels and saturation

R 49 of 255 = 19%
G 21 of 255 = 8%
B 51 of 255 = 20%

49
21
51

R + G + B ~ 16%. #311533 is dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 21 + 51 = 121 (100%)
R 49 of 121 ~ 40.5%
G 21 of 121 ~ 17.36%
B 51 of 121 ~ 42.15'%

%40.5
%17.36
%42.15

CMYK color model

#311533 color CMYK value is (4,59,0,80).

  • cyan value is 3.92%
  • magenta value is 58.82%
  • yellow value is 0.00%
  • key color value is 80.00%

CMYK: (4,59,0,80)
C4M59Y0K80 (4%, 59%, 0%, 80%)
(0.04 / 0.59 / 0.00 / 0.80)

CMYK percentages

%3.92
%58.82
%0
%80

Codes

Color #311533 in popluar color models

31 15 33
RGB 49 21 51
HSL 296° 41.67% 14.12%
HSB/HSV 296° 58.82% 20.00%
CMYK 3.92% 58.82% 0.00%
80.00%

Color #311533 in popluar number systems.

HEX 31 15 33
Decimal 49 21 51
Binary 110001 10101 110011
Octal 61 25 63

Shades and tints

Shades of #311533

#311533
(49,21,51)
#2D142F
(45,20,47)
#29132B
(41,19,43)
#251227
(37,18,39)
#211123
(33,17,35)
#1D101F
(29,16,31)
#190F1B
(25,15,27)
#150E17
(21,14,23)
#110D13
(17,13,19)
#0D0C0F
(13,12,15)
#090B0B
(9,11,11)
#000000
(0,0,0)

Tints of #311533

#311533
(49,21,51)
#432A45
(67,42,69)
#553F57
(85,63,87)
#675469
(103,84,105)
#79697B
(121,105,123)
#8B7E8D
(139,126,141)
#9D939F
(157,147,159)
#AFA8B1
(175,168,177)
#C1BDC3
(193,189,195)
#D3D2D5
(211,210,213)
#E5E7E7
(229,231,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #311533; }

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

This text font color is #311533.

Background Color

.myBgColor { background-color: #311533; }

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

This div background color is #311533.

Border color

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

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

This div border color is #311533.

Opacity

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

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

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

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

This text has shadow with #311533 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #311533.

Preview

Color preview on black background

This text has color #311533 on black background.


Color preview on white background

This text has color #311533 on white background.


Black color preview on #311533 background

This text has black color on #311533 background.


White color preview on #311533 background

This text has white color on #311533 background.


Related colors

Complementary color

Complementary color for #hex is #CEEACC.


I love getcolorcode.com

Triadic colors

1 #333115 and #153331 with #311533 are triadic colors.

2 #331531 and #153133 with #311533 are triadic colors.