COLOR #40316D

HEX: #40316D RGB: (64,49,109)

Color info

#40316D contains mainly red and blue colors. Web safe color of #40316D is #333366 (or #336).

RGB color model

#40316D color RGB value is (64,49,109).

RGB: (64,49,109) (25%, 19%, 43%)

RGB channels and saturation

R 64 of 255 = 25%
G 49 of 255 = 19%
B 109 of 255 = 43%

64
49
109

R + G + B ~ 29%. #40316D is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 49 + 109 = 222 (100%)
R 64 of 222 ~ 28.83%
G 49 of 222 ~ 22.07%
B 109 of 222 ~ 49.1'%

%28.83
%22.07
%49.1

CMYK color model

#40316D color CMYK value is (41,55,0,57).

  • cyan value is 41.28%
  • magenta value is 55.05%
  • yellow value is 0.00%
  • key color value is 57.25%

CMYK: (41,55,0,57)
C41M55Y0K57 (41%, 55%, 0%, 57%)
(0.41 / 0.55 / 0.00 / 0.57)

CMYK percentages

%41.28
%55.05
%0
%57.25

Codes

Color #40316D in popluar color models

40 31 6D
RGB 64 49 109
HSL 255° 37.97% 30.98%
HSB/HSV 255° 55.05% 42.75%
CMYK 41.28% 55.05% 0.00%
57.25%

Color #40316D in popluar number systems.

HEX 40 31 6D
Decimal 64 49 109
Binary 1000000 110001 1101101
Octal 100 61 155

Shades and tints

Shades of #40316D

#40316D
(64,49,109)
#3B2D64
(59,45,100)
#36295B
(54,41,91)
#312552
(49,37,82)
#2C2149
(44,33,73)
#271D40
(39,29,64)
#221937
(34,25,55)
#1D152E
(29,21,46)
#181125
(24,17,37)
#130D1C
(19,13,28)
#0E0913
(14,9,19)
#000000
(0,0,0)

Tints of #40316D

#40316D
(64,49,109)
#51437A
(81,67,122)
#625587
(98,85,135)
#736794
(115,103,148)
#8479A1
(132,121,161)
#958BAE
(149,139,174)
#A69DBB
(166,157,187)
#B7AFC8
(183,175,200)
#C8C1D5
(200,193,213)
#D9D3E2
(217,211,226)
#EAE5EF
(234,229,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40316D color. Also use rgb(64,49,109) instead hex code.

Text Font Color

.myTextColor { color: #40316D; }

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

This text font color is #40316D.

Background Color

.myBgColor { background-color: #40316D; }

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

This div background color is #40316D.

Border color

.myBorderColor { border: 1px solid #40316D; }

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

This div border color is #40316D.

Opacity

.myOpacity80 { color: #40316D; opacity: 0.8; }

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

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

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

This text has shadow with #40316D color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40316D.

Preview

Color preview on black background

This text has color #40316D on black background.


Color preview on white background

This text has color #40316D on white background.


Black color preview on #40316D background

This text has black color on #40316D background.


White color preview on #40316D background

This text has white color on #40316D background.


Related colors

Complementary color

Complementary color for #hex is #BFCE92.


I love getcolorcode.com

Triadic colors

1 #6D4031 and #316D40 with #40316D are triadic colors.

2 #6D3140 and #31406D with #40316D are triadic colors.