#540fab Color Information

In a RGB color space, hex #540fab is composed of 32.9% red, 5.9% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 50.9% cyan, 91.2% magenta, 0% yellow and 32.9% black. It has a hue angle of 266.5 degrees, a saturation of 83.9% and a lightness of 36.5%. #540fab color hex could be obtained by blending #a81eff with #000057. Closest websafe color is: #660099.

    • R 33
    • G 6
    • B 67
    RGB color chart
    • C 51
    • M 91
    • Y 0
    • K 33
    CMYK color chart

#540fab color description : Dark violet.

#540fab Color Conversion

The hexadecimal color #540fab has RGB values of R:84, G:15, B:171 and CMYK values of C:0.51, M:0.91, Y:0, K:0.33. Its decimal value is 5509035.

Hex triplet 540fab #540fab
RGB Decimal 84, 15, 171 rgb(84,15,171)
RGB Percent 32.9, 5.9, 67.1 rgb(32.9%,5.9%,67.1%)
CMYK 51, 91, 0, 33
HSL 266.5°, 83.9, 36.5 hsl(266.5,83.9%,36.5%)
HSV (or HSB) 266.5°, 91.2, 67.1
Web Safe 660099 #660099
CIE-LAB 27.204, 58.732, -67.466
XYZ 11.176, 5.167, 38.934
xyY 0.202, 0.093, 5.167
CIE-LCH 27.204, 89.449, 311.041
CIE-LUV 27.204, 6.977, -85.598
Hunter-Lab 22.73, 47.99, -85.646
Binary 01010100, 00001111, 10101011

Color Schemes with #540fab

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

Alternatives to #540fab

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

Similar Colors

#540fab Preview

Text with hexadecimal color #540fab

This text has a font color of #540fab.

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

This paragraph has a background color of #540fab.

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

This element has a border color of #540fab.

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

Shades and Tints of #540fab

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

Shade Color Variation
Tint Color Variation

Tones of #540fab

A tone is produced by adding gray to any pure hue. In this case, #5c5763 is the less saturated color, while #5201b9 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540fab 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
  • #353535 Achromatopsia 0.005% of the population
  • #3b2d4d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00488b Protanopia 1% of men
  • #004c79 Deuteranopia 1% of men
  • #3a4d52 Tritanopia 0.001% of the population
Trichromacy
  • #1e3397 Protanomaly 1% of men, 0.01% of women
  • #1e358b Deuteranomaly 6% of men, 0.4% of women
  • #433672 Tritanomaly 0.01% of the population