#540c7d Color Information

In a RGB color space, hex #540c7d is composed of 32.9% red, 4.7% green and 49% blue. Whereas in a CMYK color space, it is composed of 32.8% cyan, 90.4% magenta, 0% yellow and 51% black. It has a hue angle of 278.2 degrees, a saturation of 82.5% and a lightness of 26.9%. #540c7d color hex could be obtained by blending #a818fa with #000000. Closest websafe color is: #660066.

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

#540c7d color description : Dark violet.

#540c7d Color Conversion

The hexadecimal color #540c7d has RGB values of R:84, G:12, B:125 and CMYK values of C:0.33, M:0.9, Y:0, K:0.51. Its decimal value is 5508221.

Hex triplet 540c7d #540c7d
RGB Decimal 84, 12, 125 rgb(84,12,125)
RGB Percent 32.9, 4.7, 49 rgb(32.9%,4.7%,49%)
CMYK 33, 90, 0, 51
HSL 278.2°, 82.5, 26.9 hsl(278.2,82.5%,26.9%)
HSV (or HSB) 278.2°, 90.4, 49
Web Safe 660066 #660066
CIE-LAB 22.404, 48.819, -46.918
XYZ 7.489, 3.629, 19.707
xyY 0.243, 0.118, 3.629
CIE-LCH 22.404, 67.71, 316.138
CIE-LUV 22.404, 14.459, -57.82
Hunter-Lab 19.049, 36.839, -48.003
Binary 01010100, 00001100, 01111101

Color Schemes with #540c7d

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

Alternatives to #540c7d

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

Similar Colors

#540c7d Preview

Text with hexadecimal color #540c7d

This text has a font color of #540c7d.

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

This paragraph has a background color of #540c7d.

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

This element has a border color of #540c7d.

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

Shades and Tints of #540c7d

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

Shade Color Variation
Tint Color Variation

Tones of #540c7d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540c7d 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
  • #2e2e2e Achromatopsia 0.005% of the population
  • #36273e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003e78 Protanopia 1% of men
  • #00416a Deuteranopia 1% of men
  • #4e3a3f Tritanopia 0.001% of the population
Trichromacy
  • #1e2b7a Protanomaly 1% of men, 0.01% of women
  • #1e2e71 Deuteranomaly 6% of men, 0.4% of women
  • #502955 Tritanomaly 0.01% of the population