#540989 hex color
In a RGB color space, hex #540989 is composed of 32.9% red, 3.5% green and 53.7% blue. Whereas in a CMYK color space, it is composed of 38.7% cyan, 93.4% magenta, 0% yellow and 46.3% black. It has a hue angle of 275.2 degrees, a saturation of 87.7% and a lightness of 28.6%. #540989 color hex could be obtained by blending #a812ff with #000013. Closest websafe color is: #660099.
-
- R 33
- G 4
- B 54
RGB color chart
-
- C 39
- M 93
- Y 0
- K 46
CMYK color chart
● #540989 color description : Dark violet.
The hexadecimal color #540989 has RGB values of R:84, G:9, B:137 and CMYK values of C:0.39, M:0.93, Y:0, K:0.46. Its decimal value is 5507465.
Hex triplet | 540989 | #540989 |
---|---|---|
RGB Decimal | 84, 9, 137 | rgb(84,9,137) |
RGB Percent | 32.9, 3.5, 53.7 | rgb(32.9%,3.5%,53.7%) |
CMYK | 39, 93, 0, 46 | |
HSL | 275.2°, 87.7, 28.6 | hsl(275.2,87.7%,28.6%) |
HSV (or HSB) | 275.2°, 93.4, 53.7 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 23.292, 52.183, -53.034 |
---|---|
XYZ | 8.269, 3.886, 23.98 |
xyY | 0.229, 0.108, 3.886 |
CIE-LCH | 23.292, 74.402, 314.537 |
CIE-LUV | 23.292, 12.4, -65.344 |
Hunter-Lab | 19.714, 40.367, -58.32 |
Binary | 01010100, 00001001, 10001001 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #540989. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #540989
This text has a font color of #540989.
<span style="color:#540989;">Text here</span>
#540989 background color
This paragraph has a background color of #540989.
<p style="background-color:#540989;">Content here</p>
#540989 border color
This element has a border color of #540989.
<div style="border:1px solid #540989;">Content here</div>
CSS codes
.text {color:#540989;}
.background {background-color:#540989;}
.border {border:1px solid #540989;}
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, #050108 is the darkest color, while #faf5fe is the lightest one.
-
#050108
#050108
rgb(5,1,8)
-
#10021b
#10021b
rgb(16,2,27)
-
#1c032d
#1c032d
rgb(28,3,45)
-
#27043f
#27043f
rgb(39,4,63)
-
#320552
#320552
rgb(50,5,82)
-
#3d0764
#3d0764
rgb(61,7,100)
-
#490877
#490877
rgb(73,8,119)
-
#540989
#540989
rgb(84,9,137)
-
#5f0a9b
#5f0a9b
rgb(95,10,155)
-
#6b0bae
#6b0bae
rgb(107,11,174)
-
#760dc0
#760dc0
rgb(118,13,192)
-
#810ed3
#810ed3
rgb(129,14,211)
-
#8c0fe5
#8c0fe5
rgb(140,15,229)
Shade Color Variation
-
#9618f0
#9618f0
rgb(150,24,240)
-
#9f2af1
#9f2af1
rgb(159,42,241)
-
#a73df2
#a73df2
rgb(167,61,242)
-
#af4ff3
#af4ff3
rgb(175,79,243)
-
#b862f5
#b862f5
rgb(184,98,245)
-
#c074f6
#c074f6
rgb(192,116,246)
-
#c886f7
#c886f7
rgb(200,134,247)
-
#d199f8
#d199f8
rgb(209,153,248)
-
#d9abf9
#d9abf9
rgb(217,171,249)
-
#e1befb
#e1befb
rgb(225,190,251)
-
#ead0fc
#ead0fc
rgb(234,208,252)
-
#f2e2fd
#f2e2fd
rgb(242,226,253)
-
#faf5fe
#faf5fe
rgb(250,245,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #49474b is the less saturated color, while #55038f is the most saturated one.
-
#49474b
#49474b
rgb(73,71,75)
-
#4a4151
#4a4151
rgb(74,65,81)
-
#4b3c56
#4b3c56
rgb(75,60,86)
-
#4c365c
#4c365c
rgb(76,54,92)
-
#4d3062
#4d3062
rgb(77,48,98)
-
#4e2b67
#4e2b67
rgb(78,43,103)
-
#4f256d
#4f256d
rgb(79,37,109)
-
#501f73
#501f73
rgb(80,31,115)
-
#511a78
#511a78
rgb(81,26,120)
-
#52147e
#52147e
rgb(82,20,126)
-
#530f83
#530f83
rgb(83,15,131)
-
#540989
#540989
rgb(84,9,137)
-
#55038f
#55038f
rgb(85,3,143)
Tone Color Variation
Below, you can see how #540989 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