#5f21ac Color Information

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

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

#5f21ac color description : Dark violet.

#5f21ac Color Conversion

The hexadecimal color #5f21ac has RGB values of R:95, G:33, B:172 and CMYK values of C:0.45, M:0.81, Y:0, K:0.33. Its decimal value is 6234540.

Hex triplet 5f21ac #5f21ac
RGB Decimal 95, 33, 172 rgb(95,33,172)
RGB Percent 37.3, 12.9, 67.5 rgb(37.3%,12.9%,67.5%)
CMYK 45, 81, 0, 33
HSL 266.8°, 67.8, 40.2 hsl(266.8,67.8%,40.2%)
HSV (or HSB) 266.8°, 80.8, 67.5
Web Safe 663399 #663399
CIE-LAB 30.638, 54.647, -62.364
XYZ 12.708, 6.499, 39.612
xyY 0.216, 0.11, 6.499
CIE-LCH 30.638, 82.919, 311.226
CIE-LUV 30.638, 9.602, -84.817
Hunter-Lab 25.493, 44.368, -74.281
Binary 01011111, 00100001, 10101100

Color Schemes with #5f21ac

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

Alternatives to #5f21ac

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

Similar Colors

#5f21ac Preview

Text with hexadecimal color #5f21ac

This text has a font color of #5f21ac.

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

This paragraph has a background color of #5f21ac.

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

This element has a border color of #5f21ac.

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

Shades and Tints of #5f21ac

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 #5f21ac

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f21ac 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
  • #434343 Achromatopsia 0.005% of the population
  • #493c58 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004f9a Protanopia 1% of men
  • #005387 Deuteranopia 1% of men
  • #4c5258 Tritanopia 0.001% of the population
Trichromacy
  • #223ea0 Protanomaly 1% of men, 0.01% of women
  • #224194 Deuteranomaly 6% of men, 0.4% of women
  • #534076 Tritanomaly 0.01% of the population