#540f8e Color Information

In a RGB color space, hex #540f8e is composed of 32.9% red, 5.9% green and 55.7% blue. Whereas in a CMYK color space, it is composed of 40.8% cyan, 89.4% magenta, 0% yellow and 44.3% black. It has a hue angle of 272.6 degrees, a saturation of 80.9% and a lightness of 30.8%. #540f8e color hex could be obtained by blending #a81eff with #00001d. Closest websafe color is: #660099.

    • R 33
    • G 6
    • B 56
    RGB color chart
    • C 41
    • M 89
    • Y 0
    • K 44
    CMYK color chart

#540f8e color description : Dark violet.

#540f8e Color Conversion

The hexadecimal color #540f8e has RGB values of R:84, G:15, B:142 and CMYK values of C:0.41, M:0.89, Y:0, K:0.44. Its decimal value is 5509006.

Hex triplet 540f8e #540f8e
RGB Decimal 84, 15, 142 rgb(84,15,142)
RGB Percent 32.9, 5.9, 55.7 rgb(32.9%,5.9%,55.7%)
CMYK 41, 89, 0, 44
HSL 272.6°, 80.9, 30.8 hsl(272.6,80.9%,30.8%)
HSV (or HSB) 272.6°, 89.4, 55.7
Web Safe 660099 #660099
CIE-LAB 24.256, 51.892, -54.573
XYZ 8.709, 4.18, 25.938
xyY 0.224, 0.108, 4.18
CIE-LCH 24.256, 75.306, 313.558
CIE-LUV 24.256, 11.23, -68.189
Hunter-Lab 20.444, 40.26, -60.912
Binary 01010100, 00001111, 10001110

Color Schemes with #540f8e

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

Alternatives to #540f8e

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

Similar Colors

#540f8e Preview

Text with hexadecimal color #540f8e

This text has a font color of #540f8e.

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

This paragraph has a background color of #540f8e.

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

This element has a border color of #540f8e.

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

Shades and Tints of #540f8e

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

Shade Color Variation
Tint Color Variation

Tones of #540f8e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540f8e 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
  • #004280 Protanopia 1% of men
  • #004570 Deuteranopia 1% of men
  • #484246 Tritanopia 0.001% of the population
Trichromacy
  • #1e2f85 Protanomaly 1% of men, 0.01% of women
  • #1e317b Deuteranomaly 6% of men, 0.4% of women
  • #4c2f60 Tritanomaly 0.01% of the population