COLOR #512881

HEX: #512881 RGB: (81,40,129)

Color info

#512881 contains mainly red and blue colors. Web safe color of #512881 is #663399 (or #639).

RGB color model

#512881 color RGB value is (81,40,129).

RGB: (81,40,129) (32%, 16%, 51%)

RGB channels and saturation

R 81 of 255 = 32%
G 40 of 255 = 16%
B 129 of 255 = 51%

81
40
129

R + G + B ~ 33%. #512881 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 81 + 40 + 129 = 250 (100%)
R 81 of 250 ~ 32.4%
G 40 of 250 ~ 16%
B 129 of 250 ~ 51.6'%

%32.4
%16
%51.6

CMYK color model

#512881 color CMYK value is (37,69,0,49).

  • cyan value is 37.21%
  • magenta value is 68.99%
  • yellow value is 0.00%
  • key color value is 49.41%

CMYK: (37,69,0,49)
C37M69Y0K49 (37%, 69%, 0%, 49%)
(0.37 / 0.69 / 0.00 / 0.49)

CMYK percentages

%37.21
%68.99
%0
%49.41

Codes

Color #512881 in popluar color models

51 28 81
RGB 81 40 129
HSL 268° 52.66% 33.14%
HSB/HSV 268° 68.99% 50.59%
CMYK 37.21% 68.99% 0.00%
49.41%

Color #512881 in popluar number systems.

HEX 51 28 81
Decimal 81 40 129
Binary 1010001 101000 10000001
Octal 121 50 201

Shades and tints

Shades of #512881

#512881
(81,40,129)
#4A2576
(74,37,118)
#43226B
(67,34,107)
#3C1F60
(60,31,96)
#351C55
(53,28,85)
#2E194A
(46,25,74)
#27163F
(39,22,63)
#201334
(32,19,52)
#191029
(25,16,41)
#120D1E
(18,13,30)
#0B0A13
(11,10,19)
#000000
(0,0,0)

Tints of #512881

#512881
(81,40,129)
#603B8C
(96,59,140)
#6F4E97
(111,78,151)
#7E61A2
(126,97,162)
#8D74AD
(141,116,173)
#9C87B8
(156,135,184)
#AB9AC3
(171,154,195)
#BAADCE
(186,173,206)
#C9C0D9
(201,192,217)
#D8D3E4
(216,211,228)
#E7E6EF
(231,230,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512881 color. Also use rgb(81,40,129) instead hex code.

Text Font Color

.myTextColor { color: #512881; }

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

This text font color is #512881.

Background Color

.myBgColor { background-color: #512881; }

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

This div background color is #512881.

Border color

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

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

This div border color is #512881.

Opacity

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

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

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

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

This text has shadow with #512881 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #512881.

Preview

Color preview on black background

This text has color #512881 on black background.


Color preview on white background

This text has color #512881 on white background.


Black color preview on #512881 background

This text has black color on #512881 background.


White color preview on #512881 background

This text has white color on #512881 background.


Related colors

Complementary color

Complementary color for #hex is #AED77E.


I love getcolorcode.com

Triadic colors

1 #815128 and #288151 with #512881 are triadic colors.

2 #812851 and #285181 with #512881 are triadic colors.