#5a1b7d Color Information

In a RGB color space, hex #5a1b7d is composed of 35.3% red, 10.6% green and 49% blue. Whereas in a CMYK color space, it is composed of 28% cyan, 78.4% magenta, 0% yellow and 51% black. It has a hue angle of 278.6 degrees, a saturation of 64.5% and a lightness of 29.8%. #5a1b7d color hex could be obtained by blending #b436fa with #000000. Closest websafe color is: #663366.

    • R 35
    • G 11
    • B 49
    RGB color chart
    • C 28
    • M 78
    • Y 0
    • K 51
    CMYK color chart

#5a1b7d color description : Dark violet.

#5a1b7d Color Conversion

The hexadecimal color #5a1b7d has RGB values of R:90, G:27, B:125 and CMYK values of C:0.28, M:0.78, Y:0, K:0.51. Its decimal value is 5905277.

Hex triplet 5a1b7d #5a1b7d
RGB Decimal 90, 27, 125 rgb(90,27,125)
RGB Percent 35.3, 10.6, 49 rgb(35.3%,10.6%,49%)
CMYK 28, 78, 0, 51
HSL 278.6°, 64.5, 29.8 hsl(278.6,64.5%,29.8%)
HSV (or HSB) 278.6°, 78.4, 49
Web Safe 663366 #663366
CIE-LAB 25.071, 44.883, -42.535
XYZ 8.31, 4.438, 19.82
xyY 0.255, 0.136, 4.438
CIE-LCH 25.071, 61.836, 316.539
CIE-LUV 25.071, 16.155, -55.733
Hunter-Lab 21.068, 33.536, -41.031
Binary 01011010, 00011011, 01111101

Color Schemes with #5a1b7d

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

Alternatives to #5a1b7d

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

Similar Colors

#5a1b7d Preview

Text with hexadecimal color #5a1b7d

This text has a font color of #5a1b7d.

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

This paragraph has a background color of #5a1b7d.

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

This element has a border color of #5a1b7d.

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

Shades and Tints of #5a1b7d

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

Shade Color Variation
Tint Color Variation

Tones of #5a1b7d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1b7d 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
  • #393939 Achromatopsia 0.005% of the population
  • #403347 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004383 Protanopia 1% of men
  • #004675 Deuteranopia 1% of men
  • #553f44 Tritanopia 0.001% of the population
Trichromacy
  • #203481 Protanomaly 1% of men, 0.01% of women
  • #203678 Deuteranomaly 6% of men, 0.4% of women
  • #573258 Tritanomaly 0.01% of the population