#5a1f66 Color Information

In a RGB color space, hex #5a1f66 is composed of 35.3% red, 12.2% green and 40% blue. Whereas in a CMYK color space, it is composed of 11.8% cyan, 69.6% magenta, 0% yellow and 60% black. It has a hue angle of 289.9 degrees, a saturation of 53.4% and a lightness of 26.1%. #5a1f66 color hex could be obtained by blending #b43ecc with #000000. Closest websafe color is: #663366.

    • R 35
    • G 12
    • B 40
    RGB color chart
    • C 12
    • M 70
    • Y 0
    • K 60
    CMYK color chart

#5a1f66 color description : Very dark magenta.

#5a1f66 Color Conversion

The hexadecimal color #5a1f66 has RGB values of R:90, G:31, B:102 and CMYK values of C:0.12, M:0.7, Y:0, K:0.6. Its decimal value is 5906278.

Hex triplet 5a1f66 #5a1f66
RGB Decimal 90, 31, 102 rgb(90,31,102)
RGB Percent 35.3, 12.2, 40 rgb(35.3%,12.2%,40%)
CMYK 12, 70, 0, 60
HSL 289.9°, 53.4, 26.1 hsl(289.9,53.4%,26.1%)
HSV (or HSB) 289.9°, 69.6, 40
Web Safe 663366 #663366
CIE-LAB 24.042, 38.024, -29.417
XYZ 7.104, 4.113, 12.989
xyY 0.293, 0.17, 4.113
CIE-LCH 24.042, 48.075, 322.273
CIE-LUV 24.042, 20.58, -39.018
Hunter-Lab 20.281, 27.036, -23.776
Binary 01011010, 00011111, 01100110

Color Schemes with #5a1f66

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

Alternatives to #5a1f66

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

Similar Colors

#5a1f66 Preview

Text with hexadecimal color #5a1f66

This text has a font color of #5a1f66.

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

This paragraph has a background color of #5a1f66.

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

This element has a border color of #5a1f66.

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

Shades and Tints of #5a1f66

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, #0a040c is the darkest color, while #fefcfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a1f66

A tone is produced by adding gray to any pure hue. In this case, #463e47 is the less saturated color, while #6e0085 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1f66 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
  • #403442 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004180 Protanopia 1% of men
  • #2d4366 Deuteranopia 1% of men
  • #5b3a3e Tritanopia 0.001% of the population
Trichromacy
  • #203476 Protanomaly 1% of men, 0.01% of women
  • #3d3666 Deuteranomaly 6% of men, 0.4% of women
  • #5a304c Tritanomaly 0.01% of the population