#5b21ac Color Information

In a RGB color space, hex #5b21ac is composed of 35.7% red, 12.9% green and 67.5% blue. Whereas in a CMYK color space, it is composed of 47.1% cyan, 80.8% magenta, 0% yellow and 32.5% black. It has a hue angle of 265 degrees, a saturation of 67.8% and a lightness of 40.2%. #5b21ac color hex could be obtained by blending #b642ff with #000059. Closest websafe color is: #663399.

    • R 36
    • G 13
    • B 67
    RGB color chart
    • C 47
    • M 81
    • Y 0
    • K 33
    CMYK color chart

#5b21ac color description : Dark violet.

#5b21ac Color Conversion

The hexadecimal color #5b21ac has RGB values of R:91, G:33, B:172 and CMYK values of C:0.47, M:0.81, Y:0, K:0.33. Its decimal value is 5972396.

Hex triplet 5b21ac #5b21ac
RGB Decimal 91, 33, 172 rgb(91,33,172)
RGB Percent 35.7, 12.9, 67.5 rgb(35.7%,12.9%,67.5%)
CMYK 47, 81, 0, 33
HSL 265°, 67.8, 40.2 hsl(265,67.8%,40.2%)
HSV (or HSB) 265°, 80.8, 67.5
Web Safe 663399 #663399
CIE-LAB 30.133, 54.078, -63.212
XYZ 12.303, 6.29, 39.593
xyY 0.211, 0.108, 6.29
CIE-LCH 30.133, 83.188, 310.547
CIE-LUV 30.133, 8.015, -85.09
Hunter-Lab 25.081, 43.673, -76.042
Binary 01011011, 00100001, 10101100

Color Schemes with #5b21ac

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

Alternatives to #5b21ac

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

Similar Colors

#5b21ac Preview

Text with hexadecimal color #5b21ac

This text has a font color of #5b21ac.

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

This paragraph has a background color of #5b21ac.

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

This element has a border color of #5b21ac.

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

Shades and Tints of #5b21ac

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

Shade Color Variation
Tint Color Variation

Tones of #5b21ac

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5b21ac 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.

  • #424242 Achromatopsia 0.005% of the population
  • #473b57 Atypical Achromatopsia 0.001% of the population
  • #004e98 Protanopia 1% of men
  • #005284 Deuteranopia 1% of men
  • #465258 Tritanopia 0.001% of the population
  • #213d9f Protanomaly 1% of men, 0.01% of women
  • #214093 Deuteranomaly 6% of men, 0.4% of women
  • #4e4076 Tritanomaly 0.01% of the population