#542a7f Color Information

In a RGB color space, hex #542a7f is composed of 32.9% red, 16.5% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 33.9% cyan, 66.9% magenta, 0% yellow and 50.2% black. It has a hue angle of 269.6 degrees, a saturation of 50.3% and a lightness of 33.1%. #542a7f color hex could be obtained by blending #a854fe with #000000. Closest websafe color is: #663366.

    • R 33
    • G 16
    • B 50
    RGB color chart
    • C 34
    • M 67
    • Y 0
    • K 50
    CMYK color chart

#542a7f color description : Dark moderate violet.

#542a7f Color Conversion

The hexadecimal color #542a7f has RGB values of R:84, G:42, B:127 and CMYK values of C:0.34, M:0.67, Y:0, K:0.5. Its decimal value is 5515903.

Hex triplet 542a7f #542a7f
RGB Decimal 84, 42, 127 rgb(84,42,127)
RGB Percent 32.9, 16.5, 49.8 rgb(32.9%,16.5%,49.8%)
CMYK 34, 67, 0, 50
HSL 269.6°, 50.3, 33.1 hsl(269.6,50.3%,33.1%)
HSV (or HSB) 269.6°, 66.9, 49.8
Web Safe 663366 #663366
CIE-LAB 26.942, 36.86, -40.812
XYZ 8.314, 5.073, 20.619
xyY 0.244, 0.149, 5.073
CIE-LCH 26.942, 54.993, 312.087
CIE-LUV 26.942, 10.344, -54.702
Hunter-Lab 22.524, 26.474, -38.509
Binary 01010100, 00101010, 01111111

Color Schemes with #542a7f

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

Alternatives to #542a7f

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

Similar Colors

#542a7f Preview

Text with hexadecimal color #542a7f

This text has a font color of #542a7f.

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

This paragraph has a background color of #542a7f.

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

This element has a border color of #542a7f.

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

Shades and Tints of #542a7f

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

Shade Color Variation
Tint Color Variation

Tones of #542a7f

A tone is produced by adding gray to any pure hue. In this case, #545158 is the less saturated color, while #5403a6 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #542a7f 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.

  • #404040 Achromatopsia 0.005% of the population
  • #443c4d Atypical Achromatopsia 0.001% of the population
  • #00478b Protanopia 1% of men
  • #004a7c Deuteranopia 1% of men
  • #4f474c Tritanopia 0.001% of the population
  • #1e3c87 Protanomaly 1% of men, 0.01% of women
  • #1e3e7d Deuteranomaly 6% of men, 0.4% of women
  • #513c5e Tritanomaly 0.01% of the population