#540242 Color Information

In a RGB color space, hex #540242 is composed of 32.9% red, 0.8% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 97.6% magenta, 21.4% yellow and 67.1% black. It has a hue angle of 313.2 degrees, a saturation of 95.3% and a lightness of 16.9%. #540242 color hex could be obtained by blending #a80484 with #000000. Closest websafe color is: #660033.

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

#540242 color description : Very dark magenta.

#540242 Color Conversion

The hexadecimal color #540242 has RGB values of R:84, G:2, B:66 and CMYK values of C:0, M:0.98, Y:0.21, K:0.67. Its decimal value is 5505602.

Hex triplet 540242 #540242
RGB Decimal 84, 2, 66 rgb(84,2,66)
RGB Percent 32.9, 0.8, 25.9 rgb(32.9%,0.8%,25.9%)
CMYK 0, 98, 21, 67
HSL 313.2°, 95.3, 16.9 hsl(313.2,95.3%,16.9%)
HSV (or HSB) 313.2°, 97.6, 32.9
Web Safe 660033 #660033
CIE-LAB 17.094, 40.372, -16.226
XYZ 4.661, 2.322, 5.357
xyY 0.378, 0.188, 2.322
CIE-LCH 17.094, 43.51, 338.104
CIE-LUV 17.094, 30.607, -20.491
Hunter-Lab 15.238, 27.935, -10.176
Binary 01010100, 00000010, 01000010

Color Schemes with #540242

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

Alternatives to #540242

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

Similar Colors

#540242 Preview

Text with hexadecimal color #540242

This text has a font color of #540242.

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

This paragraph has a background color of #540242.

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

This element has a border color of #540242.

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

Shades and Tints of #540242

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

Shade Color Variation
Tint Color Variation

Tones of #540242

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540242 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
  • #0f3363 Protanopia 1% of men
  • #303444 Deuteranopia 1% of men
  • #592123 Tritanopia 0.001% of the population
Trichromacy
  • #282157 Protanomaly 1% of men, 0.01% of women
  • #3d2243 Deuteranomaly 6% of men, 0.4% of women
  • #57162e Tritanomaly 0.01% of the population