#512989 hex color
In a RGB color space, hex #512989 is composed of 31.8% red, 16.1% green and 53.7% blue. Whereas in a CMYK color space, it is composed of 40.9% cyan, 70.1% magenta, 0% yellow and 46.3% black. It has a hue angle of 265 degrees, a saturation of 53.9% and a lightness of 34.9%. #512989 color hex could be obtained by blending #a252ff with #000013. Closest websafe color is: #663399.
-
- R 32
- G 16
- B 54
RGB color chart
-
- C 41
- M 70
- Y 0
- K 46
CMYK color chart
● #512989 color description : Dark violet.
The hexadecimal color #512989 has RGB values of R:81, G:41, B:137 and CMYK values of C:0.41, M:0.7, Y:0, K:0.46. Its decimal value is 5319049.
Hex triplet | 512989 | #512989 |
---|---|---|
RGB Decimal | 81, 41, 137 | rgb(81,41,137) |
RGB Percent | 31.8, 16.1, 53.7 | rgb(31.8%,16.1%,53.7%) |
CMYK | 41, 70, 0, 46 | |
HSL | 265°, 53.9, 34.9 | hsl(265,53.9%,34.9%) |
HSV (or HSB) | 265°, 70.1, 53.7 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 27.134, 39.422, -46.778 |
---|---|
XYZ | 8.701, 5.141, 24.2 |
xyY | 0.229, 0.135, 5.141 |
CIE-LCH | 27.134, 61.174, 310.122 |
CIE-LUV | 27.134, 7.708, -62.17 |
Hunter-Lab | 22.675, 28.815, -47.405 |
Binary | 01010001, 00101001, 10001001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #512989. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #512989
This text has a font color of #512989.
<span style="color:#512989;">Text here</span>
#512989 background color
This paragraph has a background color of #512989.
<p style="background-color:#512989;">Content here</p>
#512989 border color
This element has a border color of #512989.
<div style="border:1px solid #512989;">Content here</div>
CSS codes
.text {color:#512989;}
.background {background-color:#512989;}
.border {border:1px solid #512989;}
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, #010001 is the darkest color, while #f5f1fb is the lightest one.
-
#010001
#010001
rgb(1,0,1)
-
#0a0510
#0a0510
rgb(10,5,16)
-
#13091f
#13091f
rgb(19,9,31)
-
#1b0e2e
#1b0e2e
rgb(27,14,46)
-
#24123e
#24123e
rgb(36,18,62)
-
#2d174d
#2d174d
rgb(45,23,77)
-
#361b5c
#361b5c
rgb(54,27,92)
-
#3f206b
#3f206b
rgb(63,32,107)
-
#48247a
#48247a
rgb(72,36,122)
-
#512989
#512989
rgb(81,41,137)
-
#5a2e98
#5a2e98
rgb(90,46,152)
-
#6332a7
#6332a7
rgb(99,50,167)
-
#6c37b6
#6c37b6
rgb(108,55,182)
Shade Color Variation
-
#753cc5
#753cc5
rgb(117,60,197)
-
#804bc9
#804bc9
rgb(128,75,201)
-
#8a5ace
#8a5ace
rgb(138,90,206)
-
#9569d2
#9569d2
rgb(149,105,210)
-
#a078d7
#a078d7
rgb(160,120,215)
-
#aa87db
#aa87db
rgb(170,135,219)
-
#b596e0
#b596e0
rgb(181,150,224)
-
#c0a6e4
#c0a6e4
rgb(192,166,228)
-
#cab5e9
#cab5e9
rgb(202,181,233)
-
#d5c4ed
#d5c4ed
rgb(213,196,237)
-
#e0d3f2
#e0d3f2
rgb(224,211,242)
-
#eae2f6
#eae2f6
rgb(234,226,246)
-
#f5f1fb
#f5f1fb
rgb(245,241,251)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #595959 is the less saturated color, while #4b07ab is the most saturated one.
-
#595959
#595959
rgb(89,89,89)
-
#585260
#585260
rgb(88,82,96)
-
#574b67
#574b67
rgb(87,75,103)
-
#56446e
#56446e
rgb(86,68,110)
-
#543e74
#543e74
rgb(84,62,116)
-
#53377b
#53377b
rgb(83,55,123)
-
#523082
#523082
rgb(82,48,130)
-
#512989
#512989
rgb(81,41,137)
-
#502290
#502290
rgb(80,34,144)
-
#4f1b97
#4f1b97
rgb(79,27,151)
-
#4e149e
#4e149e
rgb(78,20,158)
-
#4c0ea4
#4c0ea4
rgb(76,14,164)
-
#4b07ab
#4b07ab
rgb(75,7,171)
Tone Color Variation
Below, you can see how #512989 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