#542a8e hex color
In a RGB color space, hex #542a8e is composed of 32.9% red, 16.5% green and 55.7% blue. Whereas in a CMYK color space, it is composed of 40.8% cyan, 70.4% magenta, 0% yellow and 44.3% black. It has a hue angle of 265.2 degrees, a saturation of 54.3% and a lightness of 36.1%. #542a8e color hex could be obtained by blending #a854ff with #00001d. Closest websafe color is: #663399.
-
- R 33
- G 16
- B 56
RGB color chart
-
- C 41
- M 70
- Y 0
- K 44
CMYK color chart
● #542a8e color description : Dark violet.
The hexadecimal color #542a8e has RGB values of R:84, G:42, B:142 and CMYK values of C:0.41, M:0.7, Y:0, K:0.44. Its decimal value is 5515918.
Hex triplet | 542a8e | #542a8e |
---|---|---|
RGB Decimal | 84, 42, 142 | rgb(84,42,142) |
RGB Percent | 32.9, 16.5, 55.7 | rgb(32.9%,16.5%,55.7%) |
CMYK | 41, 70, 0, 44 | |
HSL | 265.2°, 54.3, 36.1 | hsl(265.2,54.3%,36.1%) |
HSV (or HSB) | 265.2°, 70.4, 55.7 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 28.098, 40.868, -48.298 |
---|---|
XYZ | 9.366, 5.494, 26.157 |
xyY | 0.228, 0.134, 5.494 |
CIE-LCH | 28.098, 63.268, 310.236 |
CIE-LUV | 28.098, 8.116, -64.983 |
Hunter-Lab | 23.439, 30.308, -49.758 |
Binary | 01010100, 00101010, 10001110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #542a8e. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #542a8e
This text has a font color of #542a8e.
<span style="color:#542a8e;">Text here</span>
#542a8e background color
This paragraph has a background color of #542a8e.
<p style="background-color:#542a8e;">Content here</p>
#542a8e border color
This element has a border color of #542a8e.
<div style="border:1px solid #542a8e;">Content here</div>
CSS codes
.text {color:#542a8e;}
.background {background-color:#542a8e;}
.border {border:1px solid #542a8e;}
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, #030206 is the darkest color, while #f8f6fc is the lightest one.
-
#030206
#030206
rgb(3,2,6)
-
#0c0615
#0c0615
rgb(12,6,21)
-
#150b24
#150b24
rgb(21,11,36)
-
#1e0f33
#1e0f33
rgb(30,15,51)
-
#271442
#271442
rgb(39,20,66)
-
#301851
#301851
rgb(48,24,81)
-
#391d61
#391d61
rgb(57,29,97)
-
#422170
#422170
rgb(66,33,112)
-
#4b267f
#4b267f
rgb(75,38,127)
-
#542a8e
#542a8e
rgb(84,42,142)
-
#5d2e9d
#5d2e9d
rgb(93,46,157)
-
#6633ac
#6633ac
rgb(102,51,172)
-
#6f37bb
#6f37bb
rgb(111,55,187)
Shade Color Variation
-
#7840c6
#7840c6
rgb(120,64,198)
-
#834fcb
#834fcb
rgb(131,79,203)
-
#8e5ecf
#8e5ecf
rgb(142,94,207)
-
#986dd4
#986dd4
rgb(152,109,212)
-
#a37dd8
#a37dd8
rgb(163,125,216)
-
#ae8cdd
#ae8cdd
rgb(174,140,221)
-
#b89be1
#b89be1
rgb(184,155,225)
-
#c3aae6
#c3aae6
rgb(195,170,230)
-
#ceb9ea
#ceb9ea
rgb(206,185,234)
-
#d8c8ef
#d8c8ef
rgb(216,200,239)
-
#e3d7f3
#e3d7f3
rgb(227,215,243)
-
#eee6f8
#eee6f8
rgb(238,230,248)
-
#f8f6fc
#f8f6fc
rgb(248,246,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5c5c5c is the less saturated color, while #4e07b1 is the most saturated one.
-
#5c5c5c
#5c5c5c
rgb(92,92,92)
-
#5b5464
#5b5464
rgb(91,84,100)
-
#5a4d6b
#5a4d6b
rgb(90,77,107)
-
#594672
#594672
rgb(89,70,114)
-
#573f79
#573f79
rgb(87,63,121)
-
#563880
#563880
rgb(86,56,128)
-
#553187
#553187
rgb(85,49,135)
-
#542a8e
#542a8e
rgb(84,42,142)
-
#532395
#532395
rgb(83,35,149)
-
#521c9c
#521c9c
rgb(82,28,156)
-
#5115a3
#5115a3
rgb(81,21,163)
-
#4f0eaa
#4f0eaa
rgb(79,14,170)
-
#4e07b1
#4e07b1
rgb(78,7,177)
Tone Color Variation
Below, you can see how #542a8e 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