#540f8a Color Information

In a RGB color space, hex #540f8a is composed of 32.9% red, 5.9% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 39.1% cyan, 89.1% magenta, 0% yellow and 45.9% black. It has a hue angle of 273.7 degrees, a saturation of 80.4% and a lightness of 30%. #540f8a color hex could be obtained by blending #a81eff with #000015. Closest websafe color is: #660099.

    • R 33
    • G 6
    • B 54
    RGB color chart
    • C 39
    • M 89
    • Y 0
    • K 46
    CMYK color chart

#540f8a color description : Dark violet.

#540f8a Color Conversion

The hexadecimal color #540f8a has RGB values of R:84, G:15, B:138 and CMYK values of C:0.39, M:0.89, Y:0, K:0.46. Its decimal value is 5509002.

Hex triplet 540f8a #540f8a
RGB Decimal 84, 15, 138 rgb(84,15,138)
RGB Percent 32.9, 5.9, 54.1 rgb(32.9%,5.9%,54.1%)
CMYK 39, 89, 0, 46
HSL 273.7°, 80.4, 30 hsl(273.7,80.4%,30%)
HSV (or HSB) 273.7°, 89.1, 54.1
Web Safe 660099 #660099
CIE-LAB 23.874, 50.966, -52.706
XYZ 8.414, 4.062, 24.384
xyY 0.228, 0.11, 4.062
CIE-LCH 23.874, 73.318, 314.039
CIE-LUV 23.874, 11.903, -65.734
Hunter-Lab 20.153, 39.253, -57.629
Binary 01010100, 00001111, 10001010

Color Schemes with #540f8a

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

Alternatives to #540f8a

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

Similar Colors

#540f8a Preview

Text with hexadecimal color #540f8a

This text has a font color of #540f8a.

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

This paragraph has a background color of #540f8a.

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

This element has a border color of #540f8a.

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

Shades and Tints of #540f8a

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, #09020e is the darkest color, while #fdfbff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540f8a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540f8a 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
  • #00417e Protanopia 1% of men
  • #00446f Deuteranopia 1% of men
  • #4a4045 Tritanopia 0.001% of the population
Trichromacy
  • #1e2e82 Protanomaly 1% of men, 0.01% of women
  • #1e3178 Deuteranomaly 6% of men, 0.4% of women
  • #4d2e5e Tritanomaly 0.01% of the population