COLOR #402B5D

HEX: #402B5D RGB: (64,43,93)

Color info

#402B5D contains red, green and blue colors in about the same proportion. Web safe color of #402B5D is #333366 (or #336).

RGB color model

#402B5D color RGB value is (64,43,93).

RGB: (64,43,93) (25%, 17%, 36%)

RGB channels and saturation

R 64 of 255 = 25%
G 43 of 255 = 17%
B 93 of 255 = 36%

64
43
93

R + G + B ~ 26%. #402B5D is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 43 + 93 = 200 (100%)
R 64 of 200 ~ 32%
G 43 of 200 ~ 21.5%
B 93 of 200 ~ 46.5'%

%32
%21.5
%46.5

CMYK color model

#402B5D color CMYK value is (31,54,0,64).

  • cyan value is 31.18%
  • magenta value is 53.76%
  • yellow value is 0.00%
  • key color value is 63.53%

CMYK: (31,54,0,64)
C31M54Y0K64 (31%, 54%, 0%, 64%)
(0.31 / 0.54 / 0.00 / 0.64)

CMYK percentages

%31.18
%53.76
%0
%63.53

Codes

Color #402B5D in popluar color models

40 2B 5D
RGB 64 43 93
HSL 265° 36.76% 26.67%
HSB/HSV 265° 53.76% 36.47%
CMYK 31.18% 53.76% 0.00%
63.53%

Color #402B5D in popluar number systems.

HEX 40 2B 5D
Decimal 64 43 93
Binary 1000000 101011 1011101
Octal 100 53 135

Shades and tints

Shades of #402B5D

#402B5D
(64,43,93)
#3B2855
(59,40,85)
#36254D
(54,37,77)
#312245
(49,34,69)
#2C1F3D
(44,31,61)
#271C35
(39,28,53)
#22192D
(34,25,45)
#1D1625
(29,22,37)
#18131D
(24,19,29)
#131015
(19,16,21)
#0E0D0D
(14,13,13)
#000000
(0,0,0)

Tints of #402B5D

#402B5D
(64,43,93)
#513E6B
(81,62,107)
#625179
(98,81,121)
#736487
(115,100,135)
#847795
(132,119,149)
#958AA3
(149,138,163)
#A69DB1
(166,157,177)
#B7B0BF
(183,176,191)
#C8C3CD
(200,195,205)
#D9D6DB
(217,214,219)
#EAE9E9
(234,233,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #402B5D color. Also use rgb(64,43,93) instead hex code.

Text Font Color

.myTextColor { color: #402B5D; }

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

This text font color is #402B5D.

Background Color

.myBgColor { background-color: #402B5D; }

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

This div background color is #402B5D.

Border color

.myBorderColor { border: 1px solid #402B5D; }

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

This div border color is #402B5D.

Opacity

.myOpacity80 { color: #402B5D; opacity: 0.8; }

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

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

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

This text has shadow with #402B5D color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402B5D.

Preview

Color preview on black background

This text has color #402B5D on black background.


Color preview on white background

This text has color #402B5D on white background.


Black color preview on #402B5D background

This text has black color on #402B5D background.


White color preview on #402B5D background

This text has white color on #402B5D background.


Related colors

Complementary color

Complementary color for #hex is #BFD4A2.


I love getcolorcode.com

Triadic colors

1 #5D402B and #2B5D40 with #402B5D are triadic colors.

2 #5D2B40 and #2B405D with #402B5D are triadic colors.