#542a9b Color Information

In a RGB color space, hex #542a9b is composed of 32.9% red, 16.5% green and 60.8% blue. Whereas in a CMYK color space, it is composed of 45.8% cyan, 72.9% magenta, 0% yellow and 39.2% black. It has a hue angle of 262.3 degrees, a saturation of 57.4% and a lightness of 38.6%. #542a9b color hex could be obtained by blending #a854ff with #000037. Closest websafe color is: #663399.

    • R 33
    • G 16
    • B 61
    RGB color chart
    • C 46
    • M 73
    • Y 0
    • K 39
    CMYK color chart

#542a9b color description : Dark violet.

#542a9b Color Conversion

The hexadecimal color #542a9b has RGB values of R:84, G:42, B:155 and CMYK values of C:0.46, M:0.73, Y:0, K:0.39. Its decimal value is 5515931.

Hex triplet 542a9b #542a9b
RGB Decimal 84, 42, 155 rgb(84,42,155)
RGB Percent 32.9, 16.5, 60.8 rgb(32.9%,16.5%,60.8%)
CMYK 46, 73, 0, 39
HSL 262.3°, 57.4, 38.6 hsl(262.3,57.4%,38.6%)
HSV (or HSB) 262.3°, 72.9, 60.8
Web Safe 663399 #663399
CIE-LAB 29.177, 44.416, -54.525
XYZ 10.399, 5.907, 31.601
xyY 0.217, 0.123, 5.907
CIE-LCH 29.177, 70.326, 309.166
CIE-LUV 29.177, 6.369, -73.593
Hunter-Lab 24.305, 33.843, -60.075
Binary 01010100, 00101010, 10011011

Color Schemes with #542a9b

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #542a9b

Below, you can see some colors close to #542a9b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#542a9b Preview

Text with hexadecimal color #542a9b

This text has a font color of #542a9b.

<span style="color:#542a9b;">Text here</span>
#542a9b background color

This paragraph has a background color of #542a9b.

<p style="background-color:#542a9b;">Content here</p>
#542a9b border color

This element has a border color of #542a9b.

<div style="border:1px solid #542a9b;">Content here</div>
CSS codes
.text {color:#542a9b;}
.background {background-color:#542a9b;}
.border {border:1px solid #542a9b;}

Shades and Tints of #542a9b

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, #000001 is the darkest color, while #f4f0fb is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #542a9b

A tone is produced by adding gray to any pure hue. In this case, #625f66 is the less saturated color, while #4a04c1 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #542a9b 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
  • #434343 Achromatopsia 0.005% of the population
  • #463e55 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004c94 Protanopia 1% of men
  • #005082 Deuteranopia 1% of men
  • #455055 Tritanopia 0.001% of the population
Trichromacy
  • #1e3f96 Protanomaly 1% of men, 0.01% of women
  • #1e428b Deuteranomaly 6% of men, 0.4% of women
  • #4a426f Tritanomaly 0.01% of the population