#5f21c4 Color Information

In a RGB color space, hex #5f21c4 is composed of 37.3% red, 12.9% green and 76.9% blue. Whereas in a CMYK color space, it is composed of 51.5% cyan, 83.2% magenta, 0% yellow and 23.1% black. It has a hue angle of 262.8 degrees, a saturation of 71.2% and a lightness of 44.9%. #5f21c4 color hex could be obtained by blending #be42ff with #000089. Closest websafe color is: #6633cc.

    • R 37
    • G 13
    • B 77
    RGB color chart
    • C 52
    • M 83
    • Y 0
    • K 23
    CMYK color chart

#5f21c4 color description : Strong violet.

#5f21c4 Color Conversion

The hexadecimal color #5f21c4 has RGB values of R:95, G:33, B:196 and CMYK values of C:0.52, M:0.83, Y:0, K:0.23. Its decimal value is 6234564.

Hex triplet 5f21c4 #5f21c4
RGB Decimal 95, 33, 196 rgb(95,33,196)
RGB Percent 37.3, 12.9, 76.9 rgb(37.3%,12.9%,76.9%)
CMYK 52, 83, 0, 23
HSL 262.8°, 71.2, 44.9 hsl(262.8,71.2%,44.9%)
HSV (or HSB) 262.8°, 83.2, 76.9
Web Safe 6633cc #6633cc
CIE-LAB 32.932, 60.634, -72.83
XYZ 15.225, 7.506, 52.868
xyY 0.201, 0.099, 7.506
CIE-LCH 32.932, 94.767, 309.778
CIE-LUV 32.932, 6.332, -99.529
Hunter-Lab 27.397, 51.253, -95.235
Binary 01011111, 00100001, 11000100

Color Schemes with #5f21c4

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

Alternatives to #5f21c4

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

Similar Colors

#5f21c4 Preview

Text with hexadecimal color #5f21c4

This text has a font color of #5f21c4.

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

This paragraph has a background color of #5f21c4.

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

This element has a border color of #5f21c4.

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

Shades and Tints of #5f21c4

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, #05020b is the darkest color, while #fbfafe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5f21c4

A tone is produced by adding gray to any pure hue. In this case, #727075 is the less saturated color, while #5907de is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f21c4 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
  • #464646 Achromatopsia 0.005% of the population
  • #4b3f5f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0054a3 Protanopia 1% of men
  • #00598e Deuteranopia 1% of men
  • #3f5b61 Tritanopia 0.001% of the population
Trichromacy
  • #2241af Protanomaly 1% of men, 0.01% of women
  • #2244a1 Deuteranomaly 6% of men, 0.4% of women
  • #4a4585 Tritanomaly 0.01% of the population