#5a397b Color Information

In a RGB color space, hex #5a397b is composed of 35.3% red, 22.4% green and 48.2% blue. Whereas in a CMYK color space, it is composed of 26.8% cyan, 53.7% magenta, 0% yellow and 51.8% black. It has a hue angle of 270 degrees, a saturation of 36.7% and a lightness of 35.3%. #5a397b color hex could be obtained by blending #b472f6 with #000000. Closest websafe color is: #663366.

    • R 35
    • G 22
    • B 48
    RGB color chart
    • C 27
    • M 54
    • Y 0
    • K 52
    CMYK color chart

#5a397b color description : Dark moderate violet.

#5a397b Color Conversion

The hexadecimal color #5a397b has RGB values of R:90, G:57, B:123 and CMYK values of C:0.27, M:0.54, Y:0, K:0.52. Its decimal value is 5912955.

Hex triplet 5a397b #5a397b
RGB Decimal 90, 57, 123 rgb(90,57,123)
RGB Percent 35.3, 22.4, 48.2 rgb(35.3%,22.4%,48.2%)
CMYK 27, 54, 0, 52
HSL 270°, 36.7, 35.3 hsl(270,36.7%,35.3%)
HSV (or HSB) 270°, 53.7, 48.2
Web Safe 663366 #663366
CIE-LAB 30.712, 28.676, -32.216
XYZ 9.254, 6.53, 19.511
xyY 0.262, 0.185, 6.53
CIE-LCH 30.712, 43.13, 311.673
CIE-LUV 30.712, 10.183, -45.41
Hunter-Lab 25.554, 19.923, -27.381
Binary 01011010, 00111001, 01111011

Color Schemes with #5a397b

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

Alternatives to #5a397b

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

Similar Colors

#5a397b Preview

Text with hexadecimal color #5a397b

This text has a font color of #5a397b.

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

This paragraph has a background color of #5a397b.

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

This element has a border color of #5a397b.

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

Shades and Tints of #5a397b

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

Shade Color Variation
Tint Color Variation

Tones of #5a397b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a397b 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
  • #4a4a4a Achromatopsia 0.005% of the population
  • #4d4754 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #314f8c Protanopia 1% of men
  • #37517c Deuteranopia 1% of men
  • #584f54 Tritanopia 0.001% of the population
Trichromacy
  • #404785 Protanomaly 1% of men, 0.01% of women
  • #43487c Deuteranomaly 6% of men, 0.4% of women
  • #594762 Tritanomaly 0.01% of the population