#5f21b9 Color Information

In a RGB color space, hex #5f21b9 is composed of 37.3% red, 12.9% green and 72.5% blue. Whereas in a CMYK color space, it is composed of 48.6% cyan, 82.2% magenta, 0% yellow and 27.5% black. It has a hue angle of 264.5 degrees, a saturation of 69.7% and a lightness of 42.7%. #5f21b9 color hex could be obtained by blending #be42ff with #000073. Closest websafe color is: #6633cc.

    • R 37
    • G 13
    • B 73
    RGB color chart
    • C 49
    • M 82
    • Y 0
    • K 27
    CMYK color chart

#5f21b9 color description : Strong violet.

#5f21b9 Color Conversion

The hexadecimal color #5f21b9 has RGB values of R:95, G:33, B:185 and CMYK values of C:0.49, M:0.82, Y:0, K:0.27. Its decimal value is 6234553.

Hex triplet 5f21b9 #5f21b9
RGB Decimal 95, 33, 185 rgb(95,33,185)
RGB Percent 37.3, 12.9, 72.5 rgb(37.3%,12.9%,72.5%)
CMYK 49, 82, 0, 27
HSL 264.5°, 69.7, 42.7 hsl(264.5,69.7%,42.7%)
HSV (or HSB) 264.5°, 82.2, 72.5
Web Safe 6633cc #6633cc
CIE-LAB 31.86, 57.883, -68.11
XYZ 14.019, 7.023, 46.513
xyY 0.208, 0.104, 7.023
CIE-LCH 31.86, 89.383, 310.359
CIE-LUV 31.86, 7.762, -92.858
Hunter-Lab 26.501, 48.045, -85.51
Binary 01011111, 00100001, 10111001

Color Schemes with #5f21b9

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

Alternatives to #5f21b9

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

Similar Colors

#5f21b9 Preview

Text with hexadecimal color #5f21b9

This text has a font color of #5f21b9.

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

This paragraph has a background color of #5f21b9.

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

This element has a border color of #5f21b9.

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

Shades and Tints of #5f21b9

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

Shade Color Variation
Tint Color Variation

Tones of #5f21b9

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f21b9 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
  • #00519f Protanopia 1% of men
  • #00568a Deuteranopia 1% of men
  • #45575d Tritanopia 0.001% of the population
Trichromacy
  • #2240a8 Protanomaly 1% of men, 0.01% of women
  • #22439b Deuteranomaly 6% of men, 0.4% of women
  • #4f437e Tritanomaly 0.01% of the population