#512a6b hex color
In a RGB color space, hex #512a6b is composed of 31.8% red, 16.5% green and 42% blue. Whereas in a CMYK color space, it is composed of 24.3% cyan, 60.7% magenta, 0% yellow and 58% black. It has a hue angle of 276 degrees, a saturation of 43.6% and a lightness of 29.2%. #512a6b color hex could be obtained by blending #a254d6 with #000000. Closest websafe color is: #663366.
-
- R 32
- G 16
- B 42
RGB color chart
-
- C 24
- M 61
- Y 0
- K 58
CMYK color chart
● #512a6b color description : Very dark violet.
The hexadecimal color #512a6b has RGB values of R:81, G:42, B:107 and CMYK values of C:0.24, M:0.61, Y:0, K:0.58. Its decimal value is 5319275.
Hex triplet | 512a6b | #512a6b |
---|---|---|
RGB Decimal | 81, 42, 107 | rgb(81,42,107) |
RGB Percent | 31.8, 16.5, 42 | rgb(31.8%,16.5%,42%) |
CMYK | 24, 61, 0, 58 | |
HSL | 276°, 43.6, 29.2 | hsl(276,43.6%,29.2%) |
HSV (or HSB) | 276°, 60.7, 42 | |
Web Safe | 663366 | #663366 |
CIE-LAB | 25.159, 30.918, -30.956 |
---|---|
XYZ | 6.875, 4.467, 14.409 |
xyY | 0.267, 0.173, 4.467 |
CIE-LCH | 25.159, 43.751, 314.965 |
CIE-LUV | 25.159, 12.095, -40.895 |
Hunter-Lab | 21.135, 21.075, -25.627 |
Binary | 01010001, 00101010, 01101011 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #512a6b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #512a6b
This text has a font color of #512a6b.
<span style="color:#512a6b;">Text here</span>
#512a6b background color
This paragraph has a background color of #512a6b.
<p style="background-color:#512a6b;">Content here</p>
#512a6b border color
This element has a border color of #512a6b.
<div style="border:1px solid #512a6b;">Content here</div>
CSS codes
.text {color:#512a6b;}
.background {background-color:#512a6b;}
.border {border:1px solid #512a6b;}
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, #060308 is the darkest color, while #fbf9fd is the lightest one.
-
#060308
#060308
rgb(6,3,8)
-
#110916
#110916
rgb(17,9,22)
-
#1c0e25
#1c0e25
rgb(28,14,37)
-
#261433
#261433
rgb(38,20,51)
-
#311941
#311941
rgb(49,25,65)
-
#3c1f4f
#3c1f4f
rgb(60,31,79)
-
#46245d
#46245d
rgb(70,36,93)
-
#512a6b
#512a6b
rgb(81,42,107)
-
#5c3079
#5c3079
rgb(92,48,121)
-
#663587
#663587
rgb(102,53,135)
-
#713b95
#713b95
rgb(113,59,149)
-
#7c40a3
#7c40a3
rgb(124,64,163)
-
#8646b1
#8646b1
rgb(134,70,177)
Shade Color Variation
-
#9050ba
#9050ba
rgb(144,80,186)
-
#995ec0
#995ec0
rgb(153,94,192)
-
#a26cc5
#a26cc5
rgb(162,108,197)
-
#ab7bcb
#ab7bcb
rgb(171,123,203)
-
#b489d1
#b489d1
rgb(180,137,209)
-
#bd97d6
#bd97d6
rgb(189,151,214)
-
#c6a5dc
#c6a5dc
rgb(198,165,220)
-
#cfb3e1
#cfb3e1
rgb(207,179,225)
-
#d8c1e7
#d8c1e7
rgb(216,193,231)
-
#e1cfec
#e1cfec
rgb(225,207,236)
-
#e9ddf2
#e9ddf2
rgb(233,221,242)
-
#f2ebf7
#f2ebf7
rgb(242,235,247)
-
#fbf9fd
#fbf9fd
rgb(251,249,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #4b474e is the less saturated color, while #590293 is the most saturated one.
-
#4b474e
#4b474e
rgb(75,71,78)
-
#4c4154
#4c4154
rgb(76,65,84)
-
#4e3b5a
#4e3b5a
rgb(78,59,90)
-
#4f3560
#4f3560
rgb(79,53,96)
-
#503065
#503065
rgb(80,48,101)
-
#512a6b
#512a6b
rgb(81,42,107)
-
#522471
#522471
rgb(82,36,113)
-
#531f76
#531f76
rgb(83,31,118)
-
#54197c
#54197c
rgb(84,25,124)
-
#561382
#561382
rgb(86,19,130)
-
#570d88
#570d88
rgb(87,13,136)
-
#58088d
#58088d
rgb(88,8,141)
-
#590293
#590293
rgb(89,2,147)
Tone Color Variation
Below, you can see how #512a6b 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