#5f21b6 Color Information

In a RGB color space, hex #5f21b6 is composed of 37.3% red, 12.9% green and 71.4% blue. Whereas in a CMYK color space, it is composed of 47.8% cyan, 81.9% magenta, 0% yellow and 28.6% black. It has a hue angle of 265 degrees, a saturation of 69.3% and a lightness of 42.2%. #5f21b6 color hex could be obtained by blending #be42ff with #00006d. Closest websafe color is: #6633cc.

    • R 37
    • G 13
    • B 71
    RGB color chart
    • C 48
    • M 82
    • Y 0
    • K 29
    CMYK color chart

#5f21b6 color description : Strong violet.

#5f21b6 Color Conversion

The hexadecimal color #5f21b6 has RGB values of R:95, G:33, B:182 and CMYK values of C:0.48, M:0.82, Y:0, K:0.29. Its decimal value is 6234550.

Hex triplet 5f21b6 #5f21b6
RGB Decimal 95, 33, 182 rgb(95,33,182)
RGB Percent 37.3, 12.9, 71.4 rgb(37.3%,12.9%,71.4%)
CMYK 48, 82, 0, 29
HSL 265°, 69.3, 42.2 hsl(265,69.3%,42.2%)
HSV (or HSB) 265°, 81.9, 71.4
Web Safe 6633cc #6633cc
CIE-LAB 31.573, 57.134, -66.801
XYZ 13.705, 6.898, 44.863
xyY 0.209, 0.105, 6.898
CIE-LCH 31.573, 87.901, 310.54
CIE-LUV 31.573, 8.172, -91.018
Hunter-Lab 26.264, 47.185, -82.892
Binary 01011111, 00100001, 10110110

Color Schemes with #5f21b6

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

Alternatives to #5f21b6

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

Similar Colors

#5f21b6 Preview

Text with hexadecimal color #5f21b6

This text has a font color of #5f21b6.

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

This paragraph has a background color of #5f21b6.

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

This element has a border color of #5f21b6.

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

Shades and Tints of #5f21b6

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

Shade Color Variation
Tint Color Variation

Tones of #5f21b6

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f21b6 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
  • #454545 Achromatopsia 0.005% of the population
  • #4a3e5c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00519e Protanopia 1% of men
  • #00558a Deuteranopia 1% of men
  • #47555c Tritanopia 0.001% of the population
Trichromacy
  • #223fa6 Protanomaly 1% of men, 0.01% of women
  • #22429a Deuteranomaly 6% of men, 0.4% of women
  • #50427c Tritanomaly 0.01% of the population