:
logo qtransform

  to  




#512D7A color HEX code RGB, HSL, CMYK

COLOR CODE FOR HEXA COLOR #512D7A
#512D7A

   In a RGB color space, hex #512D7A is composed of 32% red, 18% green and 48% blue.
RGB color code is composed of a hexadecimal 51 red (81/255), a 2D green (45/255) and a 7A blue component (122/255). The decimal RGB color code is rgb(81,45,122)
In CMYK color space, it is composed of 34% cyan, 63% magenta, 0% yellow and 52% black.
It has a hue angle of 268.05o degrees, a saturation of 46% and a lightness of 33%.
Closest websafe color is: #663366 rgb (102, 51, 102).
twitter  facebook  whatsapp


Color conversion




#512D7A
rgb(81,45,122)
=32%
from 255
18%
from 255
48%
from 255
=34
from 100
63
from 100
0
from 100
52
from 100
R: 81
red
G: 45
green
B: 122
blue
C: 34
cyan
M: 63
magenta
Y: 0
yellow
K: 52
black
Hexa colorRGB color chartCMYK color chart

Convert color


The hexadecimal color #512D7A has RGB values of R:81, G:45, B:122 and CMYK values of C:34, M:63, Y:0, K:52. Its decimal value is 5320058.Binary code is 10100010010110101111010
In print we use cyan, yellow, magenta and black (CMYK) inks because usually we print on a white paper.

Hex color512D7A #512D7A
RGB decimal81, 45, 122 rgb(81, 45, 122)
RGB %32, 18, 48 rgb(32%, 18%, 48%)
RGB Adobe74, 49, 119
CMYK %34, 63, 0, 52 34%, 63%, 0%, 52%
HSL268.05o, 46, 33 hsl(268.05o, 46%, 33%)
HSV (HSB)268o, 63%, 48% hsv(268o, 63%, 48%)
Web Safe color#663366 rgb (102, 51, 102)
XYZ7.845, 5.031 18.97
xyY0.25, 0.16, 5.03
Hunter-Lab22.43, 24.76, -37.04
CMY68%, 82%, 52%
Lab26.42, 29.46, -38.28
Binary color
51 2D 7A
1010001 101101 1111010

Shades and tints of #512D7A


A shade is achieved by adding black to original color on hue code.
A tint is created by mixing color with white.
Use the palette to pick a color or the sliders to set the RGB, HSV, CMYK components.
For example here: #100918 is the darkest color, and: #DDD6E5 is the lightest one.

Tint color variation #512D7A


Shade color variation


Tones of #512D7A
A tone is produced by adding gray to any pure hue. In this case, #56357B is the less saturated color, and #70637C is the most saturated one.


Alternatives to #512D7A


Below, you can see some colors close to #512D7A. Having a set of related colors can be useful if you need an inspirational alternative or other close colors to your original color choice.




Quick use #512D7A


How to use this color on webpages, scripts or other programming languages using html, CSS, dhtml, JAVA, .NET, openGL, Swift, Xojo

Color of the text Background color example
Color of the text
Background color example

<font color="#512D7A;">Text here</font>

<div style="background-color:#512D7A;">Text here</div>



Color preview on black background Color preview on white background
color preview on black background
color preview on white background
HTML code

<div style="background-color:#000000"> <font color="#512D7A;">Text here</font> </div>

HTML code

<div style="background-color:#FFFFFF; border: 1px dotted #999999;"> <font color="#512D7A;">Text here</font> </div>



Div box shadow Text shadow css code
box shadow for color #512D7A
text shadow css code
HTML code

<div style="background-color:#FFFFFF; box-shadow: 2px 2px 7px 1px #512D7A;"></div>

CSS code

.box-shadow: 2px 2px 7px 1px;

CSS code

.text-shadow: 1px 2px 2px #512D7A;



Box border html code Text shadow with RGB values for color #512D7A
box border html code for color #512D7A

text shadow with RGB values

HTML code

<div style="background-color:#FFFFFF; border:1px solid #512D7A;"></div>

CSS code with RGB

.text-shadow: 0px 2px 2px rgba(81, 45, 122, 1.4);



Pre-formatted code 512D7A code for script / programming
HTML, CSS: = #512D7A; rgb(81, 45, 122)
Java: = new Color(81, 45, 122)
.NET: = Color.FromArgb (81, 45, 122);
Xojo: = rgb (81, 45, 122, 0);
openGL: = glColor3f (0.32f, 0.18f, 0.48f);
Swift: = UIColor(red:0.32, green:0.18, blue:0.48, alpha:1.00000);
Objective-C: = [UIColor colorWithRed:0.32 green:0.18 blue:0.48 alpha:1.00000];


Color schemes with #512D7A


Monochromatic color
monochromatic color scheme

Monochromatic color schemes are easy to create because they use only one color. Monochromatic schemes use different tones from the same angle on the color wheel (the same angle).Just change color saturation +10% and you have a new monocromatic color. On our case color: 63% has a #512D7A saturation. Adding 63% + 10% = 73% saturation for our new color #331754. Decreasing 63% - 10% = 53% saturation for other monochromatic color #734CA1.

Analogous color
analogous color scheme

Analogous color schemes are created by using colors that are next to each other on the color wheel. Just +/- 30o on sides of the color hue angle.

Complementary color
complementary color scheme
Complementary schemes are created by combining colors from opposite sides of the color wheel. Simple add 180 degrees to color hue / angle and you have the complementary color. On our case color: #512D7A has a 268o angle. Adding 268o + 180o = 88oo for our new complementary color #567A2D.

Split color
split color scheme

Compound schemes or split complementary schemens are almost the same as complementary schemes.
Instead of using colors that are opposites, it uses colors on both sides of the opposite hue angle.
On our case color: #512D7A has a 268o angle. Adding 268o + 180o+30o = 118o for our first complementary color #307A2D. Decreasing 268o + 180o-30o = 58o for the second complementary color #7A782D.

Tiradic color
tiradic color scheme

Triadic schemes are made up of hues/angles equally spaced around color wheel. Add and decrease +/- 120 degrees on both sides of the color hue angle.

Tetradic color
tetradic color scheme

Tetradic schemes are made up of hues/angles spaced around color wheel. Add 120,180,300 degrees on the color hue angle.