#5a1a8a Color Information

In a RGB color space, hex #5a1a8a is composed of 35.3% red, 10.2% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 34.8% cyan, 81.2% magenta, 0% yellow and 45.9% black. It has a hue angle of 274.3 degrees, a saturation of 68.3% and a lightness of 32.2%. #5a1a8a color hex could be obtained by blending #b434ff with #000015. Closest websafe color is: #663399.

    • R 35
    • G 10
    • B 54
    RGB color chart
    • C 35
    • M 81
    • Y 0
    • K 46
    CMYK color chart

#5a1a8a color description : Dark violet.

#5a1a8a Color Conversion

The hexadecimal color #5a1a8a has RGB values of R:90, G:26, B:138 and CMYK values of C:0.35, M:0.81, Y:0, K:0.46. Its decimal value is 5905034.

Hex triplet 5a1a8a #5a1a8a
RGB Decimal 90, 26, 138 rgb(90,26,138)
RGB Percent 35.3, 10.2, 54.1 rgb(35.3%,10.2%,54.1%)
CMYK 35, 81, 0, 46
HSL 274.3°, 68.3, 32.2 hsl(274.3,68.3%,32.2%)
HSV (or HSB) 274.3°, 81.2, 54.1
Web Safe 663399 #663399
CIE-LAB 26.003, 48.296, -49.188
XYZ 9.173, 4.748, 24.477
xyY 0.239, 0.124, 4.748
CIE-LCH 26.003, 68.935, 314.476
CIE-LUV 26.003, 13.756, -64.413
Hunter-Lab 21.789, 37.013, -51.351
Binary 01011010, 00011010, 10001010

Color Schemes with #5a1a8a

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

Alternatives to #5a1a8a

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

Similar Colors

#5a1a8a Preview

Text with hexadecimal color #5a1a8a

This text has a font color of #5a1a8a.

<span style="color:#5a1a8a;">Text here</span>
#5a1a8a background color

This paragraph has a background color of #5a1a8a.

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

This element has a border color of #5a1a8a.

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

Shades and Tints of #5a1a8a

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

Shade Color Variation
Tint Color Variation

Tones of #5a1a8a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1a8a 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
  • #3a3a3a Achromatopsia 0.005% of the population
  • #40344a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004587 Protanopia 1% of men
  • #004977 Deuteranopia 1% of men
  • #524348 Tritanopia 0.001% of the population
Trichromacy
  • #203588 Protanomaly 1% of men, 0.01% of women
  • #20387e Deuteranomaly 6% of men, 0.4% of women
  • #553460 Tritanomaly 0.01% of the population