#540d9d Color Information

In a RGB color space, hex #540d9d is composed of 32.9% red, 5.1% green and 61.6% blue. Whereas in a CMYK color space, it is composed of 46.5% cyan, 91.7% magenta, 0% yellow and 38.4% black. It has a hue angle of 269.6 degrees, a saturation of 84.7% and a lightness of 33.3%. #540d9d color hex could be obtained by blending #a81aff with #00003b. Closest websafe color is: #660099.

    • R 33
    • G 5
    • B 62
    RGB color chart
    • C 46
    • M 92
    • Y 0
    • K 38
    CMYK color chart

#540d9d color description : Dark violet.

#540d9d Color Conversion

The hexadecimal color #540d9d has RGB values of R:84, G:13, B:157 and CMYK values of C:0.46, M:0.92, Y:0, K:0.38. Its decimal value is 5508509.

Hex triplet 540d9d #540d9d
RGB Decimal 84, 13, 157 rgb(84,13,157)
RGB Percent 32.9, 5.1, 61.6 rgb(32.9%,5.1%,61.6%)
CMYK 46, 92, 0, 38
HSL 269.6°, 84.7, 33.3 hsl(269.6,84.7%,33.3%)
HSV (or HSB) 269.6°, 91.7, 61.6
Web Safe 660099 #660099
CIE-LAB 25.584, 55.89, -61.641
XYZ 9.885, 4.607, 32.265
xyY 0.211, 0.099, 4.607
CIE-LCH 25.584, 83.206, 312.199
CIE-LUV 25.584, 9.011, -77.316
Hunter-Lab 21.464, 44.644, -74.101
Binary 01010100, 00001101, 10011101

Color Schemes with #540d9d

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

Alternatives to #540d9d

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

Similar Colors

#540d9d Preview

Text with hexadecimal color #540d9d

This text has a font color of #540d9d.

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

This paragraph has a background color of #540d9d.

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

This element has a border color of #540d9d.

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

Shades and Tints of #540d9d

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, #06010c is the darkest color, while #fcf9ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540d9d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540d9d 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
  • #333333 Achromatopsia 0.005% of the population
  • #3a2b48 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004485 Protanopia 1% of men
  • #004874 Deuteranopia 1% of men
  • #42474c Tritanopia 0.001% of the population
Trichromacy
  • #1e308e Protanomaly 1% of men, 0.01% of women
  • #1e3283 Deuteranomaly 6% of men, 0.4% of women
  • #483269 Tritanomaly 0.01% of the population