#5f21ad Color Information

In a RGB color space, hex #5f21ad is composed of 37.3% red, 12.9% green and 67.8% blue. Whereas in a CMYK color space, it is composed of 45.1% cyan, 80.9% magenta, 0% yellow and 32.2% black. It has a hue angle of 266.6 degrees, a saturation of 68% and a lightness of 40.4%. #5f21ad color hex could be obtained by blending #be42ff with #00005b. Closest websafe color is: #663399.

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

#5f21ad color description : Dark violet.

#5f21ad Color Conversion

The hexadecimal color #5f21ad has RGB values of R:95, G:33, B:173 and CMYK values of C:0.45, M:0.81, Y:0, K:0.32. Its decimal value is 6234541.

Hex triplet 5f21ad #5f21ad
RGB Decimal 95, 33, 173 rgb(95,33,173)
RGB Percent 37.3, 12.9, 67.8 rgb(37.3%,12.9%,67.8%)
CMYK 45, 81, 0, 32
HSL 266.6°, 68, 40.4 hsl(266.6,68%,40.4%)
HSV (or HSB) 266.6°, 80.9, 67.8
Web Safe 663399 #663399
CIE-LAB 30.73, 54.895, -62.813
XYZ 12.805, 6.538, 40.12
xyY 0.215, 0.11, 6.538
CIE-LCH 30.73, 83.42, 311.151
CIE-LUV 30.73, 9.454, -85.442
Hunter-Lab 25.569, 44.646, -75.133
Binary 01011111, 00100001, 10101101

Color Schemes with #5f21ad

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

Alternatives to #5f21ad

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

Similar Colors

#5f21ad Preview

Text with hexadecimal color #5f21ad

This text has a font color of #5f21ad.

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

This paragraph has a background color of #5f21ad.

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

This element has a border color of #5f21ad.

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

Shades and Tints of #5f21ad

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

Shade Color Variation
Tint Color Variation

Tones of #5f21ad

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f21ad 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
  • #223ea1 Protanomaly 1% of men, 0.01% of women
  • #224195 Deuteranomaly 6% of men, 0.4% of women
  • #524077 Tritanomaly 0.01% of the population