#5a2d8b Color Information

In a RGB color space, hex #5a2d8b is composed of 35.3% red, 17.6% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 35.3% cyan, 67.6% magenta, 0% yellow and 45.5% black. It has a hue angle of 268.7 degrees, a saturation of 51.1% and a lightness of 36.1%. #5a2d8b color hex could be obtained by blending #b45aff with #000017. Closest websafe color is: #663399.

    • R 35
    • G 18
    • B 55
    RGB color chart
    • C 35
    • M 68
    • Y 0
    • K 45
    CMYK color chart

#5a2d8b color description : Dark moderate violet.

#5a2d8b Color Conversion

The hexadecimal color #5a2d8b has RGB values of R:90, G:45, B:139 and CMYK values of C:0.35, M:0.68, Y:0, K:0.45. Its decimal value is 5909899.

Hex triplet 5a2d8b #5a2d8b
RGB Decimal 90, 45, 139 rgb(90,45,139)
RGB Percent 35.3, 17.6, 54.5 rgb(35.3%,17.6%,54.5%)
CMYK 35, 68, 0, 45
HSL 268.7°, 51.1, 36.1 hsl(268.7,51.1%,36.1%)
HSV (or HSB) 268.7°, 67.6, 54.5
Web Safe 663399 #663399
CIE-LAB 29.196, 39.762, -44.624
XYZ 9.814, 5.915, 25.049
xyY 0.241, 0.145, 5.915
CIE-LCH 29.196, 59.769, 311.702
CIE-LUV 29.196, 10.7, -61.429
Hunter-Lab 24.32, 29.474, -44.044
Binary 01011010, 00101101, 10001011

Color Schemes with #5a2d8b

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

Alternatives to #5a2d8b

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

Similar Colors

#5a2d8b Preview

Text with hexadecimal color #5a2d8b

This text has a font color of #5a2d8b.

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

This paragraph has a background color of #5a2d8b.

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

This element has a border color of #5a2d8b.

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

Shades and Tints of #5a2d8b

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

Shade Color Variation
Tint Color Variation

Tones of #5a2d8b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a2d8b 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
  • #454545 Achromatopsia 0.005% of the population
  • #494053 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004c94 Protanopia 1% of men
  • #004f84 Deuteranopia 1% of men
  • #534c52 Tritanopia 0.001% of the population
Trichromacy
  • #204091 Protanomaly 1% of men, 0.01% of women
  • #204386 Deuteranomaly 6% of men, 0.4% of women
  • #554166 Tritanomaly 0.01% of the population