#5a1a8f Color Information

In a RGB color space, hex #5a1a8f is composed of 35.3% red, 10.2% green and 56.1% blue. Whereas in a CMYK color space, it is composed of 37.1% cyan, 81.8% magenta, 0% yellow and 43.9% black. It has a hue angle of 272.8 degrees, a saturation of 69.2% and a lightness of 33.1%. #5a1a8f color hex could be obtained by blending #b434ff with #00001f. Closest websafe color is: #663399.

    • R 35
    • G 10
    • B 56
    RGB color chart
    • C 37
    • M 82
    • Y 0
    • K 44
    CMYK color chart

#5a1a8f color description : Dark violet.

#5a1a8f Color Conversion

The hexadecimal color #5a1a8f has RGB values of R:90, G:26, B:143 and CMYK values of C:0.37, M:0.82, Y:0, K:0.44. Its decimal value is 5905039.

Hex triplet 5a1a8f #5a1a8f
RGB Decimal 90, 26, 143 rgb(90,26,143)
RGB Percent 35.3, 10.2, 56.1 rgb(35.3%,10.2%,56.1%)
CMYK 37, 82, 0, 44
HSL 272.8°, 69.2, 33.1 hsl(272.8,69.2%,33.1%)
HSV (or HSB) 272.8°, 81.8, 56.1
Web Safe 663399 #663399
CIE-LAB 26.436, 49.478, -51.591
XYZ 9.543, 4.896, 26.427
xyY 0.234, 0.12, 4.896
CIE-LCH 26.436, 71.482, 313.803
CIE-LUV 26.436, 12.857, -67.629
Hunter-Lab 22.126, 38.265, -55.327
Binary 01011010, 00011010, 10001111

Color Schemes with #5a1a8f

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

Alternatives to #5a1a8f

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

Similar Colors

#5a1a8f Preview

Text with hexadecimal color #5a1a8f

This text has a font color of #5a1a8f.

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

This paragraph has a background color of #5a1a8f.

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

This element has a border color of #5a1a8f.

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

Shades and Tints of #5a1a8f

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, #06020a is the darkest color, while #fbf9fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a1a8f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1a8f 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
  • #40344b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004689 Protanopia 1% of men
  • #004a78 Deuteranopia 1% of men
  • #50454a Tritanopia 0.001% of the population
Trichromacy
  • #20368b Protanomaly 1% of men, 0.01% of women
  • #203880 Deuteranomaly 6% of men, 0.4% of women
  • #543563 Tritanomaly 0.01% of the population