#512866 hex color
In a RGB color space, hex #512866 is composed of 31.8% red, 15.7% green and 40% blue. Whereas in a CMYK color space, it is composed of 20.6% cyan, 60.8% magenta, 0% yellow and 60% black. It has a hue angle of 279.7 degrees, a saturation of 43.7% and a lightness of 27.8%. #512866 color hex could be obtained by blending #a250cc with #000000. Closest websafe color is: #663366.
-
- R 32
- G 16
- B 40
RGB color chart
-
- C 21
- M 61
- Y 0
- K 60
CMYK color chart
● #512866 color description : Very dark violet.
The hexadecimal color #512866 has RGB values of R:81, G:40, B:102 and CMYK values of C:0.21, M:0.61, Y:0, K:0.6. Its decimal value is 5318758.
Hex triplet | 512866 | #512866 |
---|---|---|
RGB Decimal | 81, 40, 102 | rgb(81,40,102) |
RGB Percent | 31.8, 15.7, 40 | rgb(31.8%,15.7%,40%) |
CMYK | 21, 61, 0, 60 | |
HSL | 279.7°, 43.7, 27.8 | hsl(279.7,43.7%,27.8%) |
HSV (or HSB) | 279.7°, 60.8, 40 | |
Web Safe | 663366 | #663366 |
CIE-LAB | 24.406, 30.828, -28.918 |
---|---|
XYZ | 6.55, 4.226, 13.04 |
xyY | 0.275, 0.177, 4.226 |
CIE-LCH | 24.406, 42.269, 316.831 |
CIE-LUV | 24.406, 13.447, -37.941 |
Hunter-Lab | 20.558, 20.895, -23.218 |
Binary | 01010001, 00101000, 01100110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #512866. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #512866
This text has a font color of #512866.
<span style="color:#512866;">Text here</span>
#512866 background color
This paragraph has a background color of #512866.
<p style="background-color:#512866;">Content here</p>
#512866 border color
This element has a border color of #512866.
<div style="border:1px solid #512866;">Content here</div>
CSS codes
.text {color:#512866;}
.background {background-color:#512866;}
.border {border:1px solid #512866;}
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, #030103 is the darkest color, while #f9f4fb is the lightest one.
-
#030103
#030103
rgb(3,1,3)
-
#0e0711
#0e0711
rgb(14,7,17)
-
#190c20
#190c20
rgb(25,12,32)
-
#24122e
#24122e
rgb(36,18,46)
-
#2f173c
#2f173c
rgb(47,23,60)
-
#3b1d4a
#3b1d4a
rgb(59,29,74)
-
#462258
#462258
rgb(70,34,88)
-
#512866
#512866
rgb(81,40,102)
-
#5c2e74
#5c2e74
rgb(92,46,116)
-
#673382
#673382
rgb(103,51,130)
-
#733990
#733990
rgb(115,57,144)
-
#7e3e9e
#7e3e9e
rgb(126,62,158)
-
#8944ac
#8944ac
rgb(137,68,172)
Shade Color Variation
-
#934bb8
#934bb8
rgb(147,75,184)
-
#9c59be
#9c59be
rgb(156,89,190)
-
#a467c4
#a467c4
rgb(164,103,196)
-
#ad75c9
#ad75c9
rgb(173,117,201)
-
#b584cf
#b584cf
rgb(181,132,207)
-
#be92d4
#be92d4
rgb(190,146,212)
-
#c6a0da
#c6a0da
rgb(198,160,218)
-
#ceaedf
#ceaedf
rgb(206,174,223)
-
#d7bce5
#d7bce5
rgb(215,188,229)
-
#dfcaea
#dfcaea
rgb(223,202,234)
-
#e8d8f0
#e8d8f0
rgb(232,216,240)
-
#f0e6f5
#f0e6f5
rgb(240,230,245)
-
#f9f4fb
#f9f4fb
rgb(249,244,251)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #48434b is the less saturated color, while #5d028c is the most saturated one.
-
#48434b
#48434b
rgb(72,67,75)
-
#4a3e50
#4a3e50
rgb(74,62,80)
-
#4c3856
#4c3856
rgb(76,56,86)
-
#4d335b
#4d335b
rgb(77,51,91)
-
#4f2d61
#4f2d61
rgb(79,45,97)
-
#512866
#512866
rgb(81,40,102)
-
#53236b
#53236b
rgb(83,35,107)
-
#551d71
#551d71
rgb(85,29,113)
-
#561876
#561876
rgb(86,24,118)
-
#58127c
#58127c
rgb(88,18,124)
-
#5a0d81
#5a0d81
rgb(90,13,129)
-
#5c0787
#5c0787
rgb(92,7,135)
-
#5d028c
#5d028c
rgb(93,2,140)
Tone Color Variation
Below, you can see how #512866 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