#542a7e hex color
In a RGB color space, hex #542a7e is composed of 32.9% red, 16.5% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 33.3% cyan, 66.7% magenta, 0% yellow and 50.6% black. It has a hue angle of 270 degrees, a saturation of 50% and a lightness of 32.9%. #542a7e color hex could be obtained by blending #a854fc with #000000. Closest websafe color is: #663366.
-
- R 33
- G 16
- B 49
RGB color chart
-
- C 33
- M 67
- Y 0
- K 51
CMYK color chart
● #542a7e color description : Dark moderate violet.
The hexadecimal color #542a7e has RGB values of R:84, G:42, B:126 and CMYK values of C:0.33, M:0.67, Y:0, K:0.51. Its decimal value is 5515902.
Hex triplet | 542a7e | #542a7e |
---|---|---|
RGB Decimal | 84, 42, 126 | rgb(84,42,126) |
RGB Percent | 32.9, 16.5, 49.4 | rgb(32.9%,16.5%,49.4%) |
CMYK | 33, 67, 0, 51 | |
HSL | 270°, 50, 32.9 | hsl(270,50%,32.9%) |
HSV (or HSB) | 270°, 66.7, 49.4 | |
Web Safe | 663366 | #663366 |
CIE-LAB | 26.869, 36.597, -40.3 |
---|---|
XYZ | 8.249, 5.047, 20.277 |
xyY | 0.246, 0.15, 5.047 |
CIE-LCH | 26.869, 54.438, 312.243 |
CIE-LUV | 26.869, 10.501, -54.003 |
Hunter-Lab | 22.466, 26.229, -37.787 |
Binary | 01010100, 00101010, 01111110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #542a7e. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #542a7e
This text has a font color of #542a7e.
<span style="color:#542a7e;">Text here</span>
#542a7e background color
This paragraph has a background color of #542a7e.
<p style="background-color:#542a7e;">Content here</p>
#542a7e border color
This element has a border color of #542a7e.
<div style="border:1px solid #542a7e;">Content here</div>
CSS codes
.text {color:#542a7e;}
.background {background-color:#542a7e;}
.border {border:1px solid #542a7e;}
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, #060308 is the darkest color, while #fbf9fd is the lightest one.
-
#060308
#060308
rgb(6,3,8)
-
#0f0817
#0f0817
rgb(15,8,23)
-
#190d26
#190d26
rgb(25,13,38)
-
#231134
#231134
rgb(35,17,52)
-
#2d1643
#2d1643
rgb(45,22,67)
-
#371b52
#371b52
rgb(55,27,82)
-
#402061
#402061
rgb(64,32,97)
-
#4a256f
#4a256f
rgb(74,37,111)
-
#542a7e
#542a7e
rgb(84,42,126)
-
#5e2f8d
#5e2f8d
rgb(94,47,141)
-
#68349b
#68349b
rgb(104,52,155)
-
#7139aa
#7139aa
rgb(113,57,170)
-
#7b3eb9
#7b3eb9
rgb(123,62,185)
Shade Color Variation
-
#8548c2
#8548c2
rgb(133,72,194)
-
#8f57c7
#8f57c7
rgb(143,87,199)
-
#9965cc
#9965cc
rgb(153,101,204)
-
#a274d1
#a274d1
rgb(162,116,209)
-
#ac83d6
#ac83d6
rgb(172,131,214)
-
#b692db
#b692db
rgb(182,146,219)
-
#c0a0df
#c0a0df
rgb(192,160,223)
-
#caafe4
#caafe4
rgb(202,175,228)
-
#d4bee9
#d4bee9
rgb(212,190,233)
-
#ddccee
#ddccee
rgb(221,204,238)
-
#e7dbf3
#e7dbf3
rgb(231,219,243)
-
#f1eaf8
#f1eaf8
rgb(241,234,248)
-
#fbf9fd
#fbf9fd
rgb(251,249,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #545157 is the less saturated color, while #5403a5 is the most saturated one.
-
#545157
#545157
rgb(84,81,87)
-
#544a5e
#544a5e
rgb(84,74,94)
-
#544464
#544464
rgb(84,68,100)
-
#543d6b
#543d6b
rgb(84,61,107)
-
#543771
#543771
rgb(84,55,113)
-
#543078
#543078
rgb(84,48,120)
-
#542a7e
#542a7e
rgb(84,42,126)
-
#542484
#542484
rgb(84,36,132)
-
#541d8b
#541d8b
rgb(84,29,139)
-
#541791
#541791
rgb(84,23,145)
-
#541098
#541098
rgb(84,16,152)
-
#540a9e
#540a9e
rgb(84,10,158)
-
#5403a5
#5403a5
rgb(84,3,165)
Tone Color Variation
Below, you can see how #542a7e 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