#540cac Color Information

In a RGB color space, hex #540cac is composed of 32.9% red, 4.7% green and 67.5% blue. Whereas in a CMYK color space, it is composed of 51.2% cyan, 93% magenta, 0% yellow and 32.5% black. It has a hue angle of 267 degrees, a saturation of 87% and a lightness of 36.1%. #540cac color hex could be obtained by blending #a818ff with #000059. Closest websafe color is: #660099.

    • R 33
    • G 5
    • B 67
    RGB color chart
    • C 51
    • M 93
    • Y 0
    • K 33
    CMYK color chart

#540cac color description : Dark violet.

#540cac Color Conversion

The hexadecimal color #540cac has RGB values of R:84, G:12, B:172 and CMYK values of C:0.51, M:0.93, Y:0, K:0.33. Its decimal value is 5508268.

Hex triplet 540cac #540cac
RGB Decimal 84, 12, 172 rgb(84,12,172)
RGB Percent 32.9, 4.7, 67.5 rgb(32.9%,4.7%,67.5%)
CMYK 51, 93, 0, 33
HSL 267°, 87, 36.1 hsl(267,87%,36.1%)
HSV (or HSB) 267°, 93, 67.5
Web Safe 660099 #660099
CIE-LAB 27.091, 59.63, -68.255
XYZ 11.233, 5.126, 39.425
xyY 0.201, 0.092, 5.126
CIE-LCH 27.091, 90.634, 311.142
CIE-LUV 27.091, 6.99, -86.219
Hunter-Lab 22.641, 48.936, -87.393
Binary 01010100, 00001100, 10101100

Color Schemes with #540cac

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

Alternatives to #540cac

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

Similar Colors

#540cac Preview

Text with hexadecimal color #540cac

This text has a font color of #540cac.

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

This paragraph has a background color of #540cac.

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

This element has a border color of #540cac.

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

Shades and Tints of #540cac

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

Shade Color Variation
Tint Color Variation

Tones of #540cac

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540cac 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
  • #343434 Achromatopsia 0.005% of the population
  • #3a2c4c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00478b Protanopia 1% of men
  • #004b79 Deuteranopia 1% of men
  • #394d52 Tritanopia 0.001% of the population
Trichromacy
  • #1e3297 Protanomaly 1% of men, 0.01% of women
  • #1e348b Deuteranomaly 6% of men, 0.4% of women
  • #433573 Tritanomaly 0.01% of the population