#542e8b hex color
In a RGB color space, hex #542e8b is composed of 32.9% red, 18% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 39.6% cyan, 66.9% magenta, 0% yellow and 45.5% black. It has a hue angle of 264.5 degrees, a saturation of 50.3% and a lightness of 36.3%. #542e8b color hex could be obtained by blending #a85cff with #000017. Closest websafe color is: #663399.
-
- R 33
- G 18
- B 55
RGB color chart
-
- C 40
- M 67
- Y 0
- K 45
CMYK color chart
● #542e8b color description : Dark moderate violet.
The hexadecimal color #542e8b has RGB values of R:84, G:46, B:139 and CMYK values of C:0.4, M:0.67, Y:0, K:0.45. Its decimal value is 5516939.
Hex triplet | 542e8b | #542e8b |
---|---|---|
RGB Decimal | 84, 46, 139 | rgb(84,46,139) |
RGB Percent | 32.9, 18, 54.5 | rgb(32.9%,18%,54.5%) |
CMYK | 40, 67, 0, 45 | |
HSL | 264.5°, 50.3, 36.3 | hsl(264.5,50.3%,36.3%) |
HSV (or HSB) | 264.5°, 66.9, 54.5 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 28.65, 37.882, -45.544 |
---|---|
XYZ | 9.293, 5.703, 25.036 |
xyY | 0.232, 0.142, 5.703 |
CIE-LCH | 28.65, 59.239, 309.753 |
CIE-LUV | 28.65, 7.777, -61.946 |
Hunter-Lab | 23.881, 27.667, -45.441 |
Binary | 01010100, 00101110, 10001011 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #542e8b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #542e8b
This text has a font color of #542e8b.
<span style="color:#542e8b;">Text here</span>
#542e8b background color
This paragraph has a background color of #542e8b.
<p style="background-color:#542e8b;">Content here</p>
#542e8b border color
This element has a border color of #542e8b.
<div style="border:1px solid #542e8b;">Content here</div>
CSS codes
.text {color:#542e8b;}
.background {background-color:#542e8b;}
.border {border:1px solid #542e8b;}
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, #040206 is the darkest color, while #f9f7fc is the lightest one.
-
#040206
#040206
rgb(4,2,6)
-
#0d0715
#0d0715
rgb(13,7,21)
-
#160c24
#160c24
rgb(22,12,36)
-
#1f1133
#1f1133
rgb(31,17,51)
-
#271641
#271641
rgb(39,22,65)
-
#301a50
#301a50
rgb(48,26,80)
-
#391f5f
#391f5f
rgb(57,31,95)
-
#42246e
#42246e
rgb(66,36,110)
-
#4b297c
#4b297c
rgb(75,41,124)
-
#542e8b
#542e8b
rgb(84,46,139)
-
#5d339a
#5d339a
rgb(93,51,154)
-
#6638a8
#6638a8
rgb(102,56,168)
-
#6f3db7
#6f3db7
rgb(111,61,183)
Shade Color Variation
-
#7846c2
#7846c2
rgb(120,70,194)
-
#8355c7
#8355c7
rgb(131,85,199)
-
#8e63cb
#8e63cb
rgb(142,99,203)
-
#9972d0
#9972d0
rgb(153,114,208)
-
#a381d5
#a381d5
rgb(163,129,213)
-
#ae8fda
#ae8fda
rgb(174,143,218)
-
#b99edf
#b99edf
rgb(185,158,223)
-
#c3ade4
#c3ade4
rgb(195,173,228)
-
#cebce9
#cebce9
rgb(206,188,233)
-
#d9caee
#d9caee
rgb(217,202,238)
-
#e3d9f2
#e3d9f2
rgb(227,217,242)
-
#eee8f7
#eee8f7
rgb(238,232,247)
-
#f9f7fc
#f9f7fc
rgb(249,247,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5c5960 is the less saturated color, while #4c03b6 is the most saturated one.
-
#5c5960
#5c5960
rgb(92,89,96)
-
#5b5267
#5b5267
rgb(91,82,103)
-
#594a6f
#594a6f
rgb(89,74,111)
-
#584376
#584376
rgb(88,67,118)
-
#573c7d
#573c7d
rgb(87,60,125)
-
#553584
#553584
rgb(85,53,132)
-
#542e8b
#542e8b
rgb(84,46,139)
-
#532792
#532792
rgb(83,39,146)
-
#512099
#512099
rgb(81,32,153)
-
#5019a0
#5019a0
rgb(80,25,160)
-
#4f12a7
#4f12a7
rgb(79,18,167)
-
#4d0aaf
#4d0aaf
rgb(77,10,175)
-
#4c03b6
#4c03b6
rgb(76,3,182)
Tone Color Variation
Below, you can see how #542e8b 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