#510152 hex color
In a RGB color space, hex #510152 is composed of 31.8% red, 0.4% green and 32.2% blue. Whereas in a CMYK color space, it is composed of 1.2% cyan, 98.8% magenta, 0% yellow and 67.8% black. It has a hue angle of 299.3 degrees, a saturation of 97.6% and a lightness of 16.3%. #510152 color hex could be obtained by blending #a202a4 with #000000. Closest websafe color is: #660066.
-
- R 32
- G 0
- B 32
RGB color chart
-
- C 1
- M 99
- Y 0
- K 68
CMYK color chart
● #510152 color description : Very dark magenta.
The hexadecimal color #510152 has RGB values of R:81, G:1, B:82 and CMYK values of C:0.01, M:0.99, Y:0, K:0.68. Its decimal value is 5308754.
Hex triplet | 510152 | #510152 |
---|---|---|
RGB Decimal | 81, 1, 82 | rgb(81,1,82) |
RGB Percent | 31.8, 0.4, 32.2 | rgb(31.8%,0.4%,32.2%) |
CMYK | 1, 99, 0, 68 | |
HSL | 299.3°, 97.6, 16.3 | hsl(299.3,97.6%,16.3%) |
HSV (or HSB) | 299.3°, 98.8, 32.2 | |
Web Safe | 660066 | #660066 |
CIE-LAB | 17.37, 42.597, -26.864 |
---|---|
XYZ | 4.927, 2.381, 8.182 |
xyY | 0.318, 0.154, 2.381 |
CIE-LCH | 17.37, 50.361, 327.762 |
CIE-LUV | 17.37, 23.601, -31.531 |
Hunter-Lab | 15.429, 30.001, -20.642 |
Binary | 01010001, 00000001, 01010010 |
Split Complementary Color
Below, you can see some colors close to #510152. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #510152
This text has a font color of #510152.
<span style="color:#510152;">Text here</span>
#510152 background color
This paragraph has a background color of #510152.
<p style="background-color:#510152;">Content here</p>
#510152 border color
This element has a border color of #510152.
<div style="border:1px solid #510152;">Content here</div>
CSS codes
.text {color:#510152;}
.background {background-color:#510152;}
.border {border:1px solid #510152;}
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, #040004 is the darkest color, while #fff0ff is the lightest one.
-
#040004
#040004
rgb(4,0,4)
-
#180018
#180018
rgb(24,0,24)
-
#2b012b
#2b012b
rgb(43,1,43)
-
#3e013f
#3e013f
rgb(62,1,63)
-
#510152
#510152
rgb(81,1,82)
-
#640165
#640165
rgb(100,1,101)
-
#770179
#770179
rgb(119,1,121)
-
#8a028c
#8a028c
rgb(138,2,140)
-
#9e02a0
#9e02a0
rgb(158,2,160)
-
#b102b3
#b102b3
rgb(177,2,179)
-
#c402c6
#c402c6
rgb(196,2,198)
-
#d703da
#d703da
rgb(215,3,218)
-
#ea03ed
#ea03ed
rgb(234,3,237)
Shade Color Variation
-
#f908fc
#f908fc
rgb(249,8,252)
-
#f91bfc
#f91bfc
rgb(249,27,252)
-
#fa2efc
#fa2efc
rgb(250,46,252)
-
#fa42fd
#fa42fd
rgb(250,66,253)
-
#fb55fd
#fb55fd
rgb(251,85,253)
-
#fb68fd
#fb68fd
rgb(251,104,253)
-
#fc7cfd
#fc7cfd
rgb(252,124,253)
-
#fc8ffe
#fc8ffe
rgb(252,143,254)
-
#fda3fe
#fda3fe
rgb(253,163,254)
-
#fdb6fe
#fdb6fe
rgb(253,182,254)
-
#fec9fe
#fec9fe
rgb(254,201,254)
-
#feddff
#feddff
rgb(254,221,255)
-
#fff0ff
#fff0ff
rgb(255,240,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #2c272c is the less saturated color, while #510152 is the most saturated one.
-
#2c272c
#2c272c
rgb(44,39,44)
-
#2f242f
#2f242f
rgb(47,36,47)
-
#322132
#322132
rgb(50,33,50)
-
#351e35
#351e35
rgb(53,30,53)
-
#381b38
#381b38
rgb(56,27,56)
-
#3b173c
#3b173c
rgb(59,23,60)
-
#3e143f
#3e143f
rgb(62,20,63)
-
#411142
#411142
rgb(65,17,66)
-
#450e45
#450e45
rgb(69,14,69)
-
#480b48
#480b48
rgb(72,11,72)
-
#4b074c
#4b074c
rgb(75,7,76)
-
#4e044f
#4e044f
rgb(78,4,79)
-
#510152
#510152
rgb(81,1,82)
Tone Color Variation
Below, you can see how #510152 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