#540d98 Color Information

In a RGB color space, hex #540d98 is composed of 32.9% red, 5.1% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 44.7% cyan, 91.4% magenta, 0% yellow and 40.4% black. It has a hue angle of 270.6 degrees, a saturation of 84.2% and a lightness of 32.4%. #540d98 color hex could be obtained by blending #a81aff with #000031. Closest websafe color is: #660099.

    • R 33
    • G 5
    • B 60
    RGB color chart
    • C 45
    • M 91
    • Y 0
    • K 40
    CMYK color chart

#540d98 color description : Dark violet.

#540d98 Color Conversion

The hexadecimal color #540d98 has RGB values of R:84, G:13, B:152 and CMYK values of C:0.45, M:0.91, Y:0, K:0.4. Its decimal value is 5508504.

Hex triplet 540d98 #540d98
RGB Decimal 84, 13, 152 rgb(84,13,152)
RGB Percent 32.9, 5.1, 59.6 rgb(32.9%,5.1%,59.6%)
CMYK 45, 91, 0, 40
HSL 270.6°, 84.2, 32.4 hsl(270.6,84.2%,32.4%)
HSV (or HSB) 270.6°, 91.4, 59.6
Web Safe 660099 #660099
CIE-LAB 25.075, 54.723, -59.413
XYZ 9.467, 4.44, 30.062
xyY 0.215, 0.101, 4.44
CIE-LCH 25.075, 80.774, 312.647
CIE-LUV 25.075, 9.757, -74.319
Hunter-Lab 21.071, 43.324, -69.842
Binary 01010100, 00001101, 10011000

Color Schemes with #540d98

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

Alternatives to #540d98

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

Similar Colors

#540d98 Preview

Text with hexadecimal color #540d98

This text has a font color of #540d98.

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

This paragraph has a background color of #540d98.

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

This element has a border color of #540d98.

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

Shades and Tints of #540d98

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

Shade Color Variation
Tint Color Variation

Tones of #540d98

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540d98 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
  • #323232 Achromatopsia 0.005% of the population
  • #392b46 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004383 Protanopia 1% of men
  • #004772 Deuteranopia 1% of men
  • #44454a Tritanopia 0.001% of the population
Trichromacy
  • #1e2f8a Protanomaly 1% of men, 0.01% of women
  • #1e3280 Deuteranomaly 6% of men, 0.4% of women
  • #4a3066 Tritanomaly 0.01% of the population