#512a80 hex color
In a RGB color space, hex #512a80 is composed of 31.8% red, 16.5% green and 50.2% blue. Whereas in a CMYK color space, it is composed of 36.7% cyan, 67.2% magenta, 0% yellow and 49.8% black. It has a hue angle of 267.2 degrees, a saturation of 50.6% and a lightness of 33.3%. #512a80 color hex could be obtained by blending #a254ff with #000001. Closest websafe color is: #663399.
-
- R 32
- G 16
- B 50
RGB color chart
-
- C 37
- M 67
- Y 0
- K 50
CMYK color chart
● #512a80 color description : Dark moderate violet.
The hexadecimal color #512a80 has RGB values of R:81, G:42, B:128 and CMYK values of C:0.37, M:0.67, Y:0, K:0.5. Its decimal value is 5319296.
Hex triplet | 512a80 | #512a80 |
---|---|---|
RGB Decimal | 81, 42, 128 | rgb(81,42,128) |
RGB Percent | 31.8, 16.5, 50.2 | rgb(31.8%,16.5%,50.2%) |
CMYK | 37, 67, 0, 50 | |
HSL | 267.2°, 50.6, 33.3 | hsl(267.2,50.6%,33.3%) |
HSV (or HSB) | 267.2°, 67.2, 50.2 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 26.631, 36.429, -41.962 |
---|---|
XYZ | 8.117, 4.964, 20.951 |
xyY | 0.239, 0.146, 4.964 |
CIE-LCH | 26.631, 55.569, 310.963 |
CIE-LUV | 26.631, 8.799, -55.79 |
Hunter-Lab | 22.28, 26.042, -40.16 |
Binary | 01010001, 00101010, 10000000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #512a80. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #512a80
This text has a font color of #512a80.
<span style="color:#512a80;">Text here</span>
#512a80 background color
This paragraph has a background color of #512a80.
<p style="background-color:#512a80;">Content here</p>
#512a80 border color
This element has a border color of #512a80.
<div style="border:1px solid #512a80;">Content here</div>
CSS codes
.text {color:#512a80;}
.background {background-color:#512a80;}
.border {border:1px solid #512a80;}
A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #06030a is the darkest color, while #fcfafd is the lightest one.
-
#06030a
#06030a
rgb(6,3,10)
-
#100819
#100819
rgb(16,8,25)
-
#190d27
#190d27
rgb(25,13,39)
-
#221236
#221236
rgb(34,18,54)
-
#2c1745
#2c1745
rgb(44,23,69)
-
#351b54
#351b54
rgb(53,27,84)
-
#3e2062
#3e2062
rgb(62,32,98)
-
#482571
#482571
rgb(72,37,113)
-
#512a80
#512a80
rgb(81,42,128)
-
#5a2f8f
#5a2f8f
rgb(90,47,143)
-
#64349e
#64349e
rgb(100,52,158)
-
#6d39ac
#6d39ac
rgb(109,57,172)
-
#763dbb
#763dbb
rgb(118,61,187)
Shade Color Variation
-
#8049c3
#8049c3
rgb(128,73,195)
-
#8b58c8
#8b58c8
rgb(139,88,200)
-
#9566cd
#9566cd
rgb(149,102,205)
-
#9f75d2
#9f75d2
rgb(159,117,210)
-
#a984d7
#a984d7
rgb(169,132,215)
-
#b493db
#b493db
rgb(180,147,219)
-
#bea1e0
#bea1e0
rgb(190,161,224)
-
#c8b0e5
#c8b0e5
rgb(200,176,229)
-
#d3bfea
#d3bfea
rgb(211,191,234)
-
#ddceef
#ddceef
rgb(221,206,239)
-
#e7ddf4
#e7ddf4
rgb(231,221,244)
-
#f1ebf9
#f1ebf9
rgb(241,235,249)
-
#fcfafd
#fcfafd
rgb(252,250,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #555159 is the less saturated color, while #4d03a7 is the most saturated one.
-
#555159
#555159
rgb(85,81,89)
-
#544b5f
#544b5f
rgb(84,75,95)
-
#534466
#534466
rgb(83,68,102)
-
#533e6c
#533e6c
rgb(83,62,108)
-
#523773
#523773
rgb(82,55,115)
-
#523179
#523179
rgb(82,49,121)
-
#512a80
#512a80
rgb(81,42,128)
-
#502387
#502387
rgb(80,35,135)
-
#501d8d
#501d8d
rgb(80,29,141)
-
#4f1694
#4f1694
rgb(79,22,148)
-
#4f109a
#4f109a
rgb(79,16,154)
-
#4e09a1
#4e09a1
rgb(78,9,161)
-
#4d03a7
#4d03a7
rgb(77,3,167)
Tone Color Variation
Below, you can see how #512a80 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.
Monochromacy
Dichromacy