#540a98 Color Information

In a RGB color space, hex #540a98 is composed of 32.9% red, 3.9% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 44.7% cyan, 93.4% magenta, 0% yellow and 40.4% black. It has a hue angle of 271.3 degrees, a saturation of 87.7% and a lightness of 31.8%. #540a98 color hex could be obtained by blending #a814ff with #000031. Closest websafe color is: #660099.

    • R 33
    • G 4
    • B 60
    RGB color chart
    • C 45
    • M 93
    • Y 0
    • K 40
    CMYK color chart

#540a98 color description : Dark violet.

#540a98 Color Conversion

The hexadecimal color #540a98 has RGB values of R:84, G:10, B:152 and CMYK values of C:0.45, M:0.93, Y:0, K:0.4. Its decimal value is 5507736.

Hex triplet 540a98 #540a98
RGB Decimal 84, 10, 152 rgb(84,10,152)
RGB Percent 32.9, 3.9, 59.6 rgb(32.9%,3.9%,59.6%)
CMYK 45, 93, 0, 40
HSL 271.3°, 87.7, 31.8 hsl(271.3,87.7%,31.8%)
HSV (or HSB) 271.3°, 93.4, 59.6
Web Safe 660099 #660099
CIE-LAB 24.855, 55.379, -59.774
XYZ 9.431, 4.369, 30.05
xyY 0.215, 0.1, 4.369
CIE-LCH 24.855, 81.485, 312.814
CIE-LUV 24.855, 9.899, -74.382
Hunter-Lab 20.902, 43.963, -70.609
Binary 01010100, 00001010, 10011000

Color Schemes with #540a98

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

Alternatives to #540a98

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

Similar Colors

#540a98 Preview

Text with hexadecimal color #540a98

This text has a font color of #540a98.

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

This paragraph has a background color of #540a98.

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

This element has a border color of #540a98.

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

Shades and Tints of #540a98

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

Shade Color Variation
Tint Color Variation

Tones of #540a98

A tone is produced by adding gray to any pure hue. In this case, #514f53 is the less saturated color, while #54049e is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540a98 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
  • #303030 Achromatopsia 0.005% of the population
  • #372845 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004382 Protanopia 1% of men
  • #004671 Deuteranopia 1% of men
  • #444449 Tritanopia 0.001% of the population
Trichromacy
  • #1e2e8a Protanomaly 1% of men, 0.01% of women
  • #1e307f Deuteranomaly 6% of men, 0.4% of women
  • #4a2f66 Tritanomaly 0.01% of the population