#542ab4 hex color
In a RGB color space, hex #542ab4 is composed of 32.9% red, 16.5% green and 70.6% blue. Whereas in a CMYK color space, it is composed of 53.3% cyan, 76.7% magenta, 0% yellow and 29.4% black. It has a hue angle of 258.3 degrees, a saturation of 62.2% and a lightness of 43.5%. #542ab4 color hex could be obtained by blending #a854ff with #000069. Closest websafe color is: #6633cc.
-
- R 33
- G 16
- B 71
RGB color chart
-
- C 53
- M 77
- Y 0
- K 29
CMYK color chart
● #542ab4 color description : Strong violet.
The hexadecimal color #542ab4 has RGB values of R:84, G:42, B:180 and CMYK values of C:0.53, M:0.77, Y:0, K:0.29. Its decimal value is 5515956.
Hex triplet | 542ab4 | #542ab4 |
---|---|---|
RGB Decimal | 84, 42, 180 | rgb(84,42,180) |
RGB Percent | 32.9, 16.5, 70.6 | rgb(32.9%,16.5%,70.6%) |
CMYK | 53, 77, 0, 29 | |
HSL | 258.3°, 62.2, 43.5 | hsl(258.3,62.2%,43.5%) |
HSV (or HSB) | 258.3°, 76.7, 70.6 | |
Web Safe | 6633cc | #6633cc |
CIE-LAB | 31.43, 51.318, -65.893 |
---|---|
XYZ | 12.721, 6.836, 43.827 |
xyY | 0.201, 0.108, 6.836 |
CIE-LCH | 31.43, 83.519, 307.912 |
CIE-LUV | 31.43, 3.426, -89.479 |
Hunter-Lab | 26.145, 41.094, -81.084 |
Binary | 01010100, 00101010, 10110100 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #542ab4. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #542ab4
This text has a font color of #542ab4.
<span style="color:#542ab4;">Text here</span>
#542ab4 background color
This paragraph has a background color of #542ab4.
<p style="background-color:#542ab4;">Content here</p>
#542ab4 border color
This element has a border color of #542ab4.
<div style="border:1px solid #542ab4;">Content here</div>
CSS codes
.text {color:#542ab4;}
.background {background-color:#542ab4;}
.border {border:1px solid #542ab4;}
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, #020105 is the darkest color, while #f7f4fc is the lightest one.
-
#020105
#020105
rgb(2,1,5)
-
#0a0515
#0a0515
rgb(10,5,21)
-
#110925
#110925
rgb(17,9,37)
-
#190c35
#190c35
rgb(25,12,53)
-
#201045
#201045
rgb(32,16,69)
-
#271455
#271455
rgb(39,20,85)
-
#2f1764
#2f1764
rgb(47,23,100)
-
#361b74
#361b74
rgb(54,27,116)
-
#3e1f84
#3e1f84
rgb(62,31,132)
-
#452394
#452394
rgb(69,35,148)
-
#4d26a4
#4d26a4
rgb(77,38,164)
-
#542ab4
#542ab4
rgb(84,42,180)
-
#5b2ec4
#5b2ec4
rgb(91,46,196)
Shade Color Variation
-
#6435d0
#6435d0
rgb(100,53,208)
-
#7145d4
#7145d4
rgb(113,69,212)
-
#7d55d7
#7d55d7
rgb(125,85,215)
-
#8965db
#8965db
rgb(137,101,219)
-
#9575df
#9575df
rgb(149,117,223)
-
#a185e2
#a185e2
rgb(161,133,226)
-
#ae95e6
#ae95e6
rgb(174,149,230)
-
#baa5ea
#baa5ea
rgb(186,165,234)
-
#c6b5ee
#c6b5ee
rgb(198,181,238)
-
#d2c4f1
#d2c4f1
rgb(210,196,241)
-
#ded4f5
#ded4f5
rgb(222,212,245)
-
#eae4f9
#eae4f9
rgb(234,228,249)
-
#f7f4fc
#f7f4fc
rgb(247,244,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #6f6e70 is the less saturated color, while #4708d6 is the most saturated one.
-
#6f6e70
#6f6e70
rgb(111,110,112)
-
#6b6678
#6b6678
rgb(107,102,120)
-
#685d81
#685d81
rgb(104,93,129)
-
#655589
#655589
rgb(101,85,137)
-
#614c92
#614c92
rgb(97,76,146)
-
#5e449a
#5e449a
rgb(94,68,154)
-
#5b3ba3
#5b3ba3
rgb(91,59,163)
-
#5733ab
#5733ab
rgb(87,51,171)
-
#542ab4
#542ab4
rgb(84,42,180)
-
#5121bd
#5121bd
rgb(81,33,189)
-
#4d19c5
#4d19c5
rgb(77,25,197)
-
#4a10ce
#4a10ce
rgb(74,16,206)
-
#4708d6
#4708d6
rgb(71,8,214)
Tone Color Variation
Below, you can see how #542ab4 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