#5a1f6e Color Information

In a RGB color space, hex #5a1f6e is composed of 35.3% red, 12.2% green and 43.1% blue. Whereas in a CMYK color space, it is composed of 18.2% cyan, 71.8% magenta, 0% yellow and 56.9% black. It has a hue angle of 284.8 degrees, a saturation of 56% and a lightness of 27.6%. #5a1f6e color hex could be obtained by blending #b43edc with #000000. Closest websafe color is: #663366.

    • R 35
    • G 12
    • B 43
    RGB color chart
    • C 18
    • M 72
    • Y 0
    • K 57
    CMYK color chart

#5a1f6e color description : Very dark violet.

#5a1f6e Color Conversion

The hexadecimal color #5a1f6e has RGB values of R:90, G:31, B:110 and CMYK values of C:0.18, M:0.72, Y:0, K:0.57. Its decimal value is 5906286.

Hex triplet 5a1f6e #5a1f6e
RGB Decimal 90, 31, 110 rgb(90,31,110)
RGB Percent 35.3, 12.2, 43.1 rgb(35.3%,12.2%,43.1%)
CMYK 18, 72, 0, 57
HSL 284.8°, 56, 27.6 hsl(284.8,56%,27.6%)
HSV (or HSB) 284.8°, 71.8, 43.1
Web Safe 663366 #663366
CIE-LAB 24.575, 39.761, -33.75
XYZ 7.521, 4.28, 15.181
xyY 0.279, 0.159, 4.28
CIE-LCH 24.575, 52.153, 319.675
CIE-LUV 24.575, 18.755, -44.681
Hunter-Lab 20.687, 28.687, -29.027
Binary 01011010, 00011111, 01101110

Color Schemes with #5a1f6e

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

Alternatives to #5a1f6e

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

Similar Colors

#5a1f6e Preview

Text with hexadecimal color #5a1f6e

This text has a font color of #5a1f6e.

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

This paragraph has a background color of #5a1f6e.

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

This element has a border color of #5a1f6e.

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

Shades and Tints of #5a1f6e

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

Shade Color Variation
Tint Color Variation

Tones of #5a1f6e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1f6e 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
  • #403544 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004282 Protanopia 1% of men
  • #25456d Deuteranopia 1% of men
  • #593c40 Tritanopia 0.001% of the population
Trichromacy
  • #20357a Protanomaly 1% of men, 0.01% of women
  • #38376d Deuteranomaly 6% of men, 0.4% of women
  • #593151 Tritanomaly 0.01% of the population