#540f8d Color Information

In a RGB color space, hex #540f8d is composed of 32.9% red, 5.9% green and 55.3% blue. Whereas in a CMYK color space, it is composed of 40.4% cyan, 89.4% magenta, 0% yellow and 44.7% black. It has a hue angle of 272.9 degrees, a saturation of 80.8% and a lightness of 30.6%. #540f8d color hex could be obtained by blending #a81eff with #00001b. Closest websafe color is: #660099.

    • R 33
    • G 6
    • B 55
    RGB color chart
    • C 40
    • M 89
    • Y 0
    • K 45
    CMYK color chart

#540f8d color description : Dark violet.

#540f8d Color Conversion

The hexadecimal color #540f8d has RGB values of R:84, G:15, B:141 and CMYK values of C:0.4, M:0.89, Y:0, K:0.45. Its decimal value is 5509005.

Hex triplet 540f8d #540f8d
RGB Decimal 84, 15, 141 rgb(84,15,141)
RGB Percent 32.9, 5.9, 55.3 rgb(32.9%,5.9%,55.3%)
CMYK 40, 89, 0, 45
HSL 272.9°, 80.8, 30.6 hsl(272.9,80.8%,30.6%)
HSV (or HSB) 272.9°, 89.4, 55.3
Web Safe 660099 #660099
CIE-LAB 24.16, 51.66, -54.108
XYZ 8.634, 4.15, 25.544
xyY 0.225, 0.108, 4.15
CIE-LCH 24.16, 74.81, 313.674
CIE-LUV 24.16, 11.396, -67.576
Hunter-Lab 20.371, 40.007, -60.088
Binary 01010100, 00001111, 10001101

Color Schemes with #540f8d

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

Alternatives to #540f8d

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

Similar Colors

#540f8d Preview

Text with hexadecimal color #540f8d

This text has a font color of #540f8d.

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

This paragraph has a background color of #540f8d.

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

This element has a border color of #540f8d.

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

Shades and Tints of #540f8d

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

Shade Color Variation
Tint Color Variation

Tones of #540f8d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540f8d 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
  • #392b44 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00417f Protanopia 1% of men
  • #004570 Deuteranopia 1% of men
  • #494146 Tritanopia 0.001% of the population
Trichromacy
  • #1e2f84 Protanomaly 1% of men, 0.01% of women
  • #1e317a Deuteranomaly 6% of men, 0.4% of women
  • #4d2f60 Tritanomaly 0.01% of the population