#512161 hex color
In a RGB color space, hex #512161 is composed of 31.8% red, 12.9% green and 38% blue. Whereas in a CMYK color space, it is composed of 16.5% cyan, 66% magenta, 0% yellow and 62% black. It has a hue angle of 285 degrees, a saturation of 49.2% and a lightness of 25.5%. #512161 color hex could be obtained by blending #a242c2 with #000000. Closest websafe color is: #663366.
-
- R 32
- G 13
- B 38
RGB color chart
-
- C 16
- M 66
- Y 0
- K 62
CMYK color chart
● #512161 color description : Very dark magenta.
The hexadecimal color #512161 has RGB values of R:81, G:33, B:97 and CMYK values of C:0.16, M:0.66, Y:0, K:0.62. Its decimal value is 5316961.
Hex triplet | 512161 | #512161 |
---|---|---|
RGB Decimal | 81, 33, 97 | rgb(81,33,97) |
RGB Percent | 31.8, 12.9, 38 | rgb(31.8%,12.9%,38%) |
CMYK | 16, 66, 0, 62 | |
HSL | 285°, 49.2, 25.5 | hsl(285,49.2%,25.5%) |
HSV (or HSB) | 285°, 66, 38 | |
Web Safe | 663366 | #663366 |
CIE-LAB | 22.655, 33.511, -28.442 |
---|---|
XYZ | 6.095, 3.7, 11.702 |
xyY | 0.284, 0.172, 3.7 |
CIE-LCH | 22.655, 43.954, 319.677 |
CIE-LUV | 22.655, 15.978, -36.508 |
Hunter-Lab | 19.236, 22.89, -22.602 |
Binary | 01010001, 00100001, 01100001 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #512161. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #512161
This text has a font color of #512161.
<span style="color:#512161;">Text here</span>
#512161 background color
This paragraph has a background color of #512161.
<p style="background-color:#512161;">Content here</p>
#512161 border color
This element has a border color of #512161.
<div style="border:1px solid #512161;">Content here</div>
CSS codes
.text {color:#512161;}
.background {background-color:#512161;}
.border {border:1px solid #512161;}
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, #080309 is the darkest color, while #fcfafd is the lightest one.
-
#080309
#080309
rgb(8,3,9)
-
#140818
#140818
rgb(20,8,24)
-
#200d26
#200d26
rgb(32,13,38)
-
#2c1235
#2c1235
rgb(44,18,53)
-
#391744
#391744
rgb(57,23,68)
-
#451c52
#451c52
rgb(69,28,82)
-
#512161
#512161
rgb(81,33,97)
-
#5d2670
#5d2670
rgb(93,38,112)
-
#692b7e
#692b7e
rgb(105,43,126)
-
#76308d
#76308d
rgb(118,48,141)
-
#82359c
#82359c
rgb(130,53,156)
-
#8e3aaa
#8e3aaa
rgb(142,58,170)
-
#9a3fb9
#9a3fb9
rgb(154,63,185)
Shade Color Variation
-
#a44ac1
#a44ac1
rgb(164,74,193)
-
#ab59c6
#ab59c6
rgb(171,89,198)
-
#b267cb
#b267cb
rgb(178,103,203)
-
#ba76d0
#ba76d0
rgb(186,118,208)
-
#c184d5
#c184d5
rgb(193,132,213)
-
#c893da
#c893da
rgb(200,147,218)
-
#d0a2df
#d0a2df
rgb(208,162,223)
-
#d7b0e4
#d7b0e4
rgb(215,176,228)
-
#dfbfe9
#dfbfe9
rgb(223,191,233)
-
#e6ceee
#e6ceee
rgb(230,206,238)
-
#eddcf3
#eddcf3
rgb(237,220,243)
-
#f5ebf8
#f5ebf8
rgb(245,235,248)
-
#fcfafd
#fcfafd
rgb(252,250,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #423f43 is the less saturated color, while #60037f is the most saturated one.
-
#423f43
#423f43
rgb(66,63,67)
-
#453a48
#453a48
rgb(69,58,72)
-
#47354d
#47354d
rgb(71,53,77)
-
#4a3052
#4a3052
rgb(74,48,82)
-
#4c2b57
#4c2b57
rgb(76,43,87)
-
#4f265c
#4f265c
rgb(79,38,92)
-
#512161
#512161
rgb(81,33,97)
-
#541c66
#541c66
rgb(84,28,102)
-
#56176b
#56176b
rgb(86,23,107)
-
#591270
#591270
rgb(89,18,112)
-
#5b0d75
#5b0d75
rgb(91,13,117)
-
#5e087a
#5e087a
rgb(94,8,122)
-
#60037f
#60037f
rgb(96,3,127)
Tone Color Variation
Below, you can see how #512161 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