#540baf Color Information

In a RGB color space, hex #540baf is composed of 32.9% red, 4.3% green and 68.6% blue. Whereas in a CMYK color space, it is composed of 52% cyan, 93.7% magenta, 0% yellow and 31.4% black. It has a hue angle of 266.7 degrees, a saturation of 88.2% and a lightness of 36.5%. #540baf color hex could be obtained by blending #a816ff with #00005f. Closest websafe color is: #660099.

    • R 33
    • G 4
    • B 69
    RGB color chart
    • C 52
    • M 94
    • Y 0
    • K 31
    CMYK color chart

#540baf color description : Dark violet.

#540baf Color Conversion

The hexadecimal color #540baf has RGB values of R:84, G:11, B:175 and CMYK values of C:0.52, M:0.94, Y:0, K:0.31. Its decimal value is 5508015.

Hex triplet 540baf #540baf
RGB Decimal 84, 11, 175 rgb(84,11,175)
RGB Percent 32.9, 4.3, 68.6 rgb(32.9%,4.3%,68.6%)
CMYK 52, 94, 0, 31
HSL 266.7°, 88.2, 36.5 hsl(266.7,88.2%,36.5%)
HSV (or HSB) 266.7°, 93.7, 68.6
Web Safe 660099 #660099
CIE-LAB 27.35, 60.533, -69.63
XYZ 11.512, 5.219, 40.956
xyY 0.2, 0.09, 5.219
CIE-LCH 27.35, 92.264, 311.002
CIE-LUV 27.35, 6.646, -87.986
Hunter-Lab 22.846, 49.97, -90.299
Binary 01010100, 00001011, 10101111

Color Schemes with #540baf

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

Alternatives to #540baf

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

Similar Colors

#540baf Preview

Text with hexadecimal color #540baf

This text has a font color of #540baf.

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

This paragraph has a background color of #540baf.

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

This element has a border color of #540baf.

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

Shades and Tints of #540baf

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 #f9f5fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540baf

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540baf 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
  • #343434 Achromatopsia 0.005% of the population
  • #3a2c4d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00488c Protanopia 1% of men
  • #004c7a Deuteranopia 1% of men
  • #374e53 Tritanopia 0.001% of the population
Trichromacy
  • #1e3299 Protanomaly 1% of men, 0.01% of women
  • #1e348d Deuteranomaly 6% of men, 0.4% of women
  • #413574 Tritanomaly 0.01% of the population