#5a1f8d Color Information

In a RGB color space, hex #5a1f8d is composed of 35.3% red, 12.2% green and 55.3% blue. Whereas in a CMYK color space, it is composed of 36.2% cyan, 78% magenta, 0% yellow and 44.7% black. It has a hue angle of 272.2 degrees, a saturation of 64% and a lightness of 33.7%. #5a1f8d color hex could be obtained by blending #b43eff with #00001b. Closest websafe color is: #663399.

    • R 35
    • G 12
    • B 55
    RGB color chart
    • C 36
    • M 78
    • Y 0
    • K 45
    CMYK color chart

#5a1f8d color description : Dark violet.

#5a1f8d Color Conversion

The hexadecimal color #5a1f8d has RGB values of R:90, G:31, B:141 and CMYK values of C:0.36, M:0.78, Y:0, K:0.45. Its decimal value is 5906317.

Hex triplet 5a1f8d #5a1f8d
RGB Decimal 90, 31, 141 rgb(90,31,141)
RGB Percent 35.3, 12.2, 55.3 rgb(35.3%,12.2%,55.3%)
CMYK 36, 78, 0, 45
HSL 272.2°, 64, 33.7 hsl(272.2,64%,33.7%)
HSV (or HSB) 272.2°, 78, 55.3
Web Safe 663399 #663399
CIE-LAB 26.953, 47.01, -49.507
XYZ 9.513, 5.077, 25.677
xyY 0.236, 0.126, 5.077
CIE-LCH 26.953, 68.271, 313.518
CIE-LUV 26.953, 12.633, -65.695
Hunter-Lab 22.532, 35.936, -51.793
Binary 01011010, 00011111, 10001101

Color Schemes with #5a1f8d

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

Alternatives to #5a1f8d

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

Similar Colors

#5a1f8d Preview

Text with hexadecimal color #5a1f8d

This text has a font color of #5a1f8d.

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

This paragraph has a background color of #5a1f8d.

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

This element has a border color of #5a1f8d.

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

Shades and Tints of #5a1f8d

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, #08030c is the darkest color, while #fdfbfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a1f8d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1f8d 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
  • #3d3d3d Achromatopsia 0.005% of the population
  • #43374d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00478b Protanopia 1% of men
  • #004b7b Deuteranopia 1% of men
  • #51464b Tritanopia 0.001% of the population
Trichromacy
  • #20388b Protanomaly 1% of men, 0.01% of women
  • #203b81 Deuteranomaly 6% of men, 0.4% of women
  • #543863 Tritanomaly 0.01% of the population