#5a2f8d Color Information

In a RGB color space, hex #5a2f8d is composed of 35.3% red, 18.4% green and 55.3% blue. Whereas in a CMYK color space, it is composed of 36.2% cyan, 66.7% magenta, 0% yellow and 44.7% black. It has a hue angle of 267.4 degrees, a saturation of 50% and a lightness of 36.9%. #5a2f8d color hex could be obtained by blending #b45eff with #00001b. Closest websafe color is: #663399.

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

#5a2f8d color description : Dark moderate violet.

#5a2f8d Color Conversion

The hexadecimal color #5a2f8d has RGB values of R:90, G:47, B:141 and CMYK values of C:0.36, M:0.67, Y:0, K:0.45. Its decimal value is 5910413.

Hex triplet 5a2f8d #5a2f8d
RGB Decimal 90, 47, 141 rgb(90,47,141)
RGB Percent 35.3, 18.4, 55.3 rgb(35.3%,18.4%,55.3%)
CMYK 36, 67, 0, 45
HSL 267.4°, 50, 36.9 hsl(267.4,50%,36.9%)
HSV (or HSB) 267.4°, 66.7, 55.3
Web Safe 663399 #663399
CIE-LAB 29.738, 39.211, -44.986
XYZ 10.04, 6.13, 25.852
xyY 0.239, 0.146, 6.13
CIE-LCH 29.738, 59.676, 311.076
CIE-LUV 29.738, 9.988, -62.266
Hunter-Lab 24.759, 29.057, -44.578
Binary 01011010, 00101111, 10001101

Color Schemes with #5a2f8d

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

Alternatives to #5a2f8d

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

Similar Colors

#5a2f8d Preview

Text with hexadecimal color #5a2f8d

This text has a font color of #5a2f8d.

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

This paragraph has a background color of #5a2f8d.

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

This element has a border color of #5a2f8d.

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

Shades and Tints of #5a2f8d

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

Shade Color Variation
Tint Color Variation

Tones of #5a2f8d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a2f8d 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
  • #474747 Achromatopsia 0.005% of the population
  • #4b4255 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004d97 Protanopia 1% of men
  • #005186 Deuteranopia 1% of men
  • #524e53 Tritanopia 0.001% of the population
Trichromacy
  • #204293 Protanomaly 1% of men, 0.01% of women
  • #204488 Deuteranomaly 6% of men, 0.4% of women
  • #554268 Tritanomaly 0.01% of the population