#540842 Color Information

In a RGB color space, hex #540842 is composed of 32.9% red, 3.1% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 90.5% magenta, 21.4% yellow and 67.1% black. It has a hue angle of 314.2 degrees, a saturation of 82.6% and a lightness of 18%. #540842 color hex could be obtained by blending #a81084 with #000000. Closest websafe color is: #660033.

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

#540842 color description : Very dark magenta.

#540842 Color Conversion

The hexadecimal color #540842 has RGB values of R:84, G:8, B:66 and CMYK values of C:0, M:0.9, Y:0.21, K:0.67. Its decimal value is 5507138.

Hex triplet 540842 #540842
RGB Decimal 84, 8, 66 rgb(84,8,66)
RGB Percent 32.9, 3.1, 25.9 rgb(32.9%,3.1%,25.9%)
CMYK 0, 90, 21, 67
HSL 314.2°, 82.6, 18 hsl(314.2,82.6%,18%)
HSV (or HSB) 314.2°, 90.5, 32.9
Web Safe 660033 #660033
CIE-LAB 17.701, 38.601, -15.277
XYZ 4.726, 2.452, 5.378
xyY 0.376, 0.195, 2.452
CIE-LCH 17.701, 41.515, 338.408
CIE-LUV 17.701, 29.943, -19.669
Hunter-Lab 15.66, 26.47, -9.402
Binary 01010100, 00001000, 01000010

Color Schemes with #540842

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

Alternatives to #540842

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

Similar Colors

#540842 Preview

Text with hexadecimal color #540842

This text has a font color of #540842.

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

This paragraph has a background color of #540842.

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

This element has a border color of #540842.

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

Shades and Tints of #540842

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, #0c010a is the darkest color, while #fef9fd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540842

A tone is produced by adding gray to any pure hue. In this case, #312b2f is the less saturated color, while #5b0146 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540842 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
  • #252525 Achromatopsia 0.005% of the population
  • #2e1f2b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #1b3460 Protanopia 1% of men
  • #323545 Deuteranopia 1% of men
  • #592426 Tritanopia 0.001% of the population
Trichromacy
  • #302455 Protanomaly 1% of men, 0.01% of women
  • #3e2444 Deuteranomaly 6% of men, 0.4% of women
  • #571930 Tritanomaly 0.01% of the population