#540166 Color Information

In a RGB color space, hex #540166 is composed of 32.9% red, 0.4% green and 40% blue. Whereas in a CMYK color space, it is composed of 17.6% cyan, 99% magenta, 0% yellow and 60% black. It has a hue angle of 289.3 degrees, a saturation of 98.1% and a lightness of 20.2%. #540166 color hex could be obtained by blending #a802cc with #000000. Closest websafe color is: #660066.

    • R 33
    • G 0
    • B 40
    RGB color chart
    • C 18
    • M 99
    • Y 0
    • K 60
    CMYK color chart

#540166 color description : Very dark magenta.

#540166 Color Conversion

The hexadecimal color #540166 has RGB values of R:84, G:1, B:102 and CMYK values of C:0.18, M:0.99, Y:0, K:0.6. Its decimal value is 5505382.

Hex triplet 540166 #540166
RGB Decimal 84, 1, 102 rgb(84,1,102)
RGB Percent 32.9, 0.4, 40 rgb(32.9%,0.4%,40%)
CMYK 18, 99, 0, 60
HSL 289.3°, 98.1, 20.2 hsl(289.3,98.1%,20.2%)
HSV (or HSB) 289.3°, 99, 40
Web Safe 660066 #660066
CIE-LAB 19.5, 46.787, -36.777
XYZ 6.065, 2.866, 12.803
xyY 0.279, 0.132, 2.866
CIE-LCH 19.5, 59.511, 321.831
CIE-LUV 19.5, 20.158, -43.962
Hunter-Lab 16.93, 34.32, -32.988
Binary 01010100, 00000001, 01100110

Color Schemes with #540166

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

Alternatives to #540166

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

Similar Colors

#540166 Preview

Text with hexadecimal color #540166

This text has a font color of #540166.

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

This paragraph has a background color of #540166.

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

This element has a border color of #540166.

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

Shades and Tints of #540166

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

Shade Color Variation
Tint Color Variation

Tones of #540166

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540166 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
  • #2e1e32 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00386d Protanopia 1% of men
  • #003b62 Deuteranopia 1% of men
  • #532f32 Tritanopia 0.001% of the population
Trichromacy
  • #1e246a Protanomaly 1% of men, 0.01% of women
  • #1e2563 Deuteranomaly 6% of men, 0.4% of women
  • #531e45 Tritanomaly 0.01% of the population