#512895 hex color
In a RGB color space, hex #512895 is composed of 31.8% red, 15.7% green and 58.4% blue. Whereas in a CMYK color space, it is composed of 45.6% cyan, 73.2% magenta, 0% yellow and 41.6% black. It has a hue angle of 262.6 degrees, a saturation of 57.7% and a lightness of 37.1%. #512895 color hex could be obtained by blending #a250ff with #00002b. Closest websafe color is: #663399.
-
- R 32
- G 16
- B 58
RGB color chart
-
- C 46
- M 73
- Y 0
- K 42
CMYK color chart
● #512895 color description : Dark violet.
The hexadecimal color #512895 has RGB values of R:81, G:40, B:149 and CMYK values of C:0.46, M:0.73, Y:0, K:0.42. Its decimal value is 5318805.
Hex triplet | 512895 | #512895 |
---|---|---|
RGB Decimal | 81, 40, 149 | rgb(81,40,149) |
RGB Percent | 31.8, 15.7, 58.4 | rgb(31.8%,15.7%,58.4%) |
CMYK | 46, 73, 0, 42 | |
HSL | 262.6°, 57.7, 37.1 | hsl(262.6,57.7%,37.1%) |
HSV (or HSB) | 262.6°, 73.2, 58.4 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 27.945, 43.242, -52.879 |
---|---|
XYZ | 9.576, 5.437, 28.977 |
xyY | 0.218, 0.124, 5.437 |
CIE-LCH | 27.945, 68.309, 309.275 |
CIE-LUV | 27.945, 6.278, -70.307 |
Hunter-Lab | 23.317, 32.504, -57.361 |
Binary | 01010001, 00101000, 10010101 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #512895. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #512895
This text has a font color of #512895.
<span style="color:#512895;">Text here</span>
#512895 background color
This paragraph has a background color of #512895.
<p style="background-color:#512895;">Content here</p>
#512895 border color
This element has a border color of #512895.
<div style="border:1px solid #512895;">Content here</div>
CSS codes
.text {color:#512895;}
.background {background-color:#512895;}
.border {border:1px solid #512895;}
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, #05030a is the darkest color, while #fbf9fd is the lightest one.
-
#05030a
#05030a
rgb(5,3,10)
-
#0e0719
#0e0719
rgb(14,7,25)
-
#160b29
#160b29
rgb(22,11,41)
-
#1f0f38
#1f0f38
rgb(31,15,56)
-
#271348
#271348
rgb(39,19,72)
-
#2f1757
#2f1757
rgb(47,23,87)
-
#381c67
#381c67
rgb(56,28,103)
-
#402076
#402076
rgb(64,32,118)
-
#492486
#492486
rgb(73,36,134)
-
#512895
#512895
rgb(81,40,149)
-
#592ca4
#592ca4
rgb(89,44,164)
-
#6230b4
#6230b4
rgb(98,48,180)
-
#6a34c3
#6a34c3
rgb(106,52,195)
Shade Color Variation
-
#7440cc
#7440cc
rgb(116,64,204)
-
#804fd0
#804fd0
rgb(128,79,208)
-
#8b5fd4
#8b5fd4
rgb(139,95,212)
-
#966ed8
#966ed8
rgb(150,110,216)
-
#a17edc
#a17edc
rgb(161,126,220)
-
#ac8de0
#ac8de0
rgb(172,141,224)
-
#b89de5
#b89de5
rgb(184,157,229)
-
#c3ace9
#c3ace9
rgb(195,172,233)
-
#cebced
#cebced
rgb(206,188,237)
-
#d9cbf1
#d9cbf1
rgb(217,203,241)
-
#e4daf5
#e4daf5
rgb(228,218,245)
-
#f0eaf9
#f0eaf9
rgb(240,234,249)
-
#fbf9fd
#fbf9fd
rgb(251,249,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5e5b62 is the less saturated color, while #4804b9 is the most saturated one.
-
#5e5b62
#5e5b62
rgb(94,91,98)
-
#5c5469
#5c5469
rgb(92,84,105)
-
#5a4c71
#5a4c71
rgb(90,76,113)
-
#584578
#584578
rgb(88,69,120)
-
#563e7f
#563e7f
rgb(86,62,127)
-
#553786
#553786
rgb(85,55,134)
-
#532f8e
#532f8e
rgb(83,47,142)
-
#512895
#512895
rgb(81,40,149)
-
#4f219c
#4f219c
rgb(79,33,156)
-
#4d19a4
#4d19a4
rgb(77,25,164)
-
#4c12ab
#4c12ab
rgb(76,18,171)
-
#4a0bb2
#4a0bb2
rgb(74,11,178)
-
#4804b9
#4804b9
rgb(72,4,185)
Tone Color Variation
Below, you can see how #512895 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