#542ba5 hex color
In a RGB color space, hex #542ba5 is composed of 32.9% red, 16.9% green and 64.7% blue. Whereas in a CMYK color space, it is composed of 49.1% cyan, 73.9% magenta, 0% yellow and 35.3% black. It has a hue angle of 260.2 degrees, a saturation of 58.7% and a lightness of 40.8%. #542ba5 color hex could be obtained by blending #a856ff with #00004b. Closest websafe color is: #663399.
-
- R 33
- G 17
- B 65
RGB color chart
-
- C 49
- M 74
- Y 0
- K 35
CMYK color chart
● #542ba5 color description : Dark violet.
The hexadecimal color #542ba5 has RGB values of R:84, G:43, B:165 and CMYK values of C:0.49, M:0.74, Y:0, K:0.35. Its decimal value is 5516197.
Hex triplet | 542ba5 | #542ba5 |
---|---|---|
RGB Decimal | 84, 43, 165 | rgb(84,43,165) |
RGB Percent | 32.9, 16.9, 64.7 | rgb(32.9%,16.9%,64.7%) |
CMYK | 49, 74, 0, 35 | |
HSL | 260.2°, 58.7, 40.8 | hsl(260.2,58.7%,40.8%) |
HSV (or HSB) | 260.2°, 73.9, 64.7 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 30.228, 46.675, -58.875 |
---|---|
XYZ | 11.31, 6.329, 36.221 |
xyY | 0.21, 0.118, 6.329 |
CIE-LCH | 30.228, 75.132, 308.406 |
CIE-LUV | 30.228, 4.981, -79.884 |
Hunter-Lab | 25.158, 36.224, -67.753 |
Binary | 01010100, 00101011, 10100101 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #542ba5. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #542ba5
This text has a font color of #542ba5.
<span style="color:#542ba5;">Text here</span>
#542ba5 background color
This paragraph has a background color of #542ba5.
<p style="background-color:#542ba5;">Content here</p>
#542ba5 border color
This element has a border color of #542ba5.
<div style="border:1px solid #542ba5;">Content here</div>
CSS codes
.text {color:#542ba5;}
.background {background-color:#542ba5;}
.border {border:1px solid #542ba5;}
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, #050209 is the darkest color, while #faf9fd is the lightest one.
-
#050209
#050209
rgb(5,2,9)
-
#0d0719
#0d0719
rgb(13,7,25)
-
#150b29
#150b29
rgb(21,11,41)
-
#1d0f38
#1d0f38
rgb(29,15,56)
-
#241348
#241348
rgb(36,19,72)
-
#2c1757
#2c1757
rgb(44,23,87)
-
#341b67
#341b67
rgb(52,27,103)
-
#3c1f76
#3c1f76
rgb(60,31,118)
-
#442386
#442386
rgb(68,35,134)
-
#4c2795
#4c2795
rgb(76,39,149)
-
#542ba5
#542ba5
rgb(84,43,165)
-
#5c2fb5
#5c2fb5
rgb(92,47,181)
-
#6433c4
#6433c4
rgb(100,51,196)
Shade Color Variation
-
#6e3ecd
#6e3ecd
rgb(110,62,205)
-
#7a4ed1
#7a4ed1
rgb(122,78,209)
-
#855dd5
#855dd5
rgb(133,93,213)
-
#916dd9
#916dd9
rgb(145,109,217)
-
#9d7cdd
#9d7cdd
rgb(157,124,221)
-
#a98ce1
#a98ce1
rgb(169,140,225)
-
#b49be5
#b49be5
rgb(180,155,229)
-
#c0abe9
#c0abe9
rgb(192,171,233)
-
#ccbbed
#ccbbed
rgb(204,187,237)
-
#d7caf1
#d7caf1
rgb(215,202,241)
-
#e3daf5
#e3daf5
rgb(227,218,245)
-
#efe9f9
#efe9f9
rgb(239,233,249)
-
#faf9fd
#faf9fd
rgb(250,249,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #66636d is the less saturated color, while #4703cd is the most saturated one.
-
#66636d
#66636d
rgb(102,99,109)
-
#645b75
#645b75
rgb(100,91,117)
-
#61537d
#61537d
rgb(97,83,125)
-
#5e4b85
#5e4b85
rgb(94,75,133)
-
#5c438d
#5c438d
rgb(92,67,141)
-
#593b95
#593b95
rgb(89,59,149)
-
#57339d
#57339d
rgb(87,51,157)
-
#542ba5
#542ba5
rgb(84,43,165)
-
#5123ad
#5123ad
rgb(81,35,173)
-
#4f1bb5
#4f1bb5
rgb(79,27,181)
-
#4c13bd
#4c13bd
rgb(76,19,189)
-
#4a0bc5
#4a0bc5
rgb(74,11,197)
-
#4703cd
#4703cd
rgb(71,3,205)
Tone Color Variation
Below, you can see how #542ba5 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