#542a9e hex color
In a RGB color space, hex #542a9e is composed of 32.9% red, 16.5% green and 62% blue. Whereas in a CMYK color space, it is composed of 46.8% cyan, 73.4% magenta, 0% yellow and 38% black. It has a hue angle of 261.7 degrees, a saturation of 58% and a lightness of 39.2%. #542a9e color hex could be obtained by blending #a854ff with #00003d. Closest websafe color is: #663399.
-
- R 33
- G 16
- B 62
RGB color chart
-
- C 47
- M 73
- Y 0
- K 38
CMYK color chart
● #542a9e color description : Dark violet.
The hexadecimal color #542a9e has RGB values of R:84, G:42, B:158 and CMYK values of C:0.47, M:0.73, Y:0, K:0.38. Its decimal value is 5515934.
Hex triplet | 542a9e | #542a9e |
---|---|---|
RGB Decimal | 84, 42, 158 | rgb(84,42,158) |
RGB Percent | 32.9, 16.5, 62 | rgb(32.9%,16.5%,62%) |
CMYK | 47, 73, 0, 38 | |
HSL | 261.7°, 58, 39.2 | hsl(261.7,58%,39.2%) |
HSV (or HSB) | 261.7°, 73.4, 62 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 29.436, 45.241, -55.93 |
---|---|
XYZ | 10.655, 6.009, 32.944 |
xyY | 0.215, 0.121, 6.009 |
CIE-LCH | 29.436, 71.936, 308.969 |
CIE-LUV | 29.436, 5.989, -75.544 |
Hunter-Lab | 24.514, 34.683, -62.521 |
Binary | 01010100, 00101010, 10011110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #542a9e. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #542a9e
This text has a font color of #542a9e.
<span style="color:#542a9e;">Text here</span>
#542a9e background color
This paragraph has a background color of #542a9e.
<p style="background-color:#542a9e;">Content here</p>
#542a9e border color
This element has a border color of #542a9e.
<div style="border:1px solid #542a9e;">Content here</div>
CSS codes
.text {color:#542a9e;}
.background {background-color:#542a9e;}
.border {border:1px solid #542a9e;}
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, #020103 is the darkest color, while #f6f3fc is the lightest one.
-
#020103
#020103
rgb(2,1,3)
-
#0a0513
#0a0513
rgb(10,5,19)
-
#120922
#120922
rgb(18,9,34)
-
#1a0d32
#1a0d32
rgb(26,13,50)
-
#231141
#231141
rgb(35,17,65)
-
#2b1551
#2b1551
rgb(43,21,81)
-
#331a60
#331a60
rgb(51,26,96)
-
#3b1e70
#3b1e70
rgb(59,30,112)
-
#44227f
#44227f
rgb(68,34,127)
-
#4c268f
#4c268f
rgb(76,38,143)
-
#542a9e
#542a9e
rgb(84,42,158)
-
#5c2ead
#5c2ead
rgb(92,46,173)
-
#6432bd
#6432bd
rgb(100,50,189)
Shade Color Variation
-
#6d39ca
#6d39ca
rgb(109,57,202)
-
#7948ce
#7948ce
rgb(121,72,206)
-
#8458d2
#8458d2
rgb(132,88,210)
-
#8f67d7
#8f67d7
rgb(143,103,215)
-
#9b77db
#9b77db
rgb(155,119,219)
-
#a686df
#a686df
rgb(166,134,223)
-
#b296e3
#b296e3
rgb(178,150,227)
-
#bda5e7
#bda5e7
rgb(189,165,231)
-
#c8b5eb
#c8b5eb
rgb(200,181,235)
-
#d4c4ef
#d4c4ef
rgb(212,196,239)
-
#dfd4f3
#dfd4f3
rgb(223,212,243)
-
#eae3f8
#eae3f8
rgb(234,227,248)
-
#f6f3fc
#f6f3fc
rgb(246,243,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #636068 is the less saturated color, while #4904c4 is the most saturated one.
-
#636068
#636068
rgb(99,96,104)
-
#615870
#615870
rgb(97,88,112)
-
#5f5078
#5f5078
rgb(95,80,120)
-
#5c497f
#5c497f
rgb(92,73,127)
-
#5a4187
#5a4187
rgb(90,65,135)
-
#58398f
#58398f
rgb(88,57,143)
-
#563296
#563296
rgb(86,50,150)
-
#542a9e
#542a9e
rgb(84,42,158)
-
#5222a6
#5222a6
rgb(82,34,166)
-
#501bad
#501bad
rgb(80,27,173)
-
#4e13b5
#4e13b5
rgb(78,19,181)
-
#4c0bbd
#4c0bbd
rgb(76,11,189)
-
#4904c4
#4904c4
rgb(73,4,196)
Tone Color Variation
Below, you can see how #542a9e 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