#540342 Color Information

In a RGB color space, hex #540342 is composed of 32.9% red, 1.2% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 96.4% magenta, 21.4% yellow and 67.1% black. It has a hue angle of 313.3 degrees, a saturation of 93.1% and a lightness of 17.1%. #540342 color hex could be obtained by blending #a80684 with #000000. Closest websafe color is: #660033.

    • R 33
    • G 1
    • B 26
    RGB color chart
    • C 0
    • M 96
    • Y 21
    • K 67
    CMYK color chart

#540342 color description : Very dark magenta.

#540342 Color Conversion

The hexadecimal color #540342 has RGB values of R:84, G:3, B:66 and CMYK values of C:0, M:0.96, Y:0.21, K:0.67. Its decimal value is 5505858.

Hex triplet 540342 #540342
RGB Decimal 84, 3, 66 rgb(84,3,66)
RGB Percent 32.9, 1.2, 25.9 rgb(32.9%,1.2%,25.9%)
CMYK 0, 96, 21, 67
HSL 313.3°, 93.1, 17.1 hsl(313.3,93.1%,17.1%)
HSV (or HSB) 313.3°, 96.4, 32.9
Web Safe 660033 #660033
CIE-LAB 17.196, 40.071, -16.065
XYZ 4.672, 2.344, 5.36
xyY 0.378, 0.189, 2.344
CIE-LCH 17.196, 43.171, 338.153
CIE-LUV 17.196, 30.499, -20.355
Hunter-Lab 15.309, 27.684, -10.043
Binary 01010100, 00000011, 01000010

Color Schemes with #540342

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

Alternatives to #540342

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

Similar Colors

#540342 Preview

Text with hexadecimal color #540342

This text has a font color of #540342.

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

This paragraph has a background color of #540342.

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

This element has a border color of #540342.

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

Shades and Tints of #540342

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

Shade Color Variation
Tint Color Variation

Tones of #540342

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540342 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
  • #222222 Achromatopsia 0.005% of the population
  • #2c1c28 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #123362 Protanopia 1% of men
  • #313444 Deuteranopia 1% of men
  • #592123 Tritanopia 0.001% of the population
Trichromacy
  • #2a2256 Protanomaly 1% of men, 0.01% of women
  • #3d2243 Deuteranomaly 6% of men, 0.4% of women
  • #57162e Tritanomaly 0.01% of the population