#5f21b4 Color Information

In a RGB color space, hex #5f21b4 is composed of 37.3% red, 12.9% green and 70.6% blue. Whereas in a CMYK color space, it is composed of 47.2% cyan, 81.7% magenta, 0% yellow and 29.4% black. It has a hue angle of 265.3 degrees, a saturation of 69% and a lightness of 41.8%. #5f21b4 color hex could be obtained by blending #be42ff with #000069. Closest websafe color is: #6633cc.

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

#5f21b4 color description : Strong violet.

#5f21b4 Color Conversion

The hexadecimal color #5f21b4 has RGB values of R:95, G:33, B:180 and CMYK values of C:0.47, M:0.82, Y:0, K:0.29. Its decimal value is 6234548.

Hex triplet 5f21b4 #5f21b4
RGB Decimal 95, 33, 180 rgb(95,33,180)
RGB Percent 37.3, 12.9, 70.6 rgb(37.3%,12.9%,70.6%)
CMYK 47, 82, 0, 29
HSL 265.3°, 69, 41.8 hsl(265.3,69%,41.8%)
HSV (or HSB) 265.3°, 81.7, 70.6
Web Safe 6633cc #6633cc
CIE-LAB 31.384, 56.636, -65.922
XYZ 13.5, 6.816, 43.782
xyY 0.211, 0.106, 6.816
CIE-LCH 31.384, 86.91, 310.667
CIE-LUV 31.384, 8.45, -89.786
Hunter-Lab 26.107, 46.615, -81.155
Binary 01011111, 00100001, 10110100

Color Schemes with #5f21b4

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

Alternatives to #5f21b4

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

Similar Colors

#5f21b4 Preview

Text with hexadecimal color #5f21b4

This text has a font color of #5f21b4.

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

This paragraph has a background color of #5f21b4.

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

This element has a border color of #5f21b4.

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

Shades and Tints of #5f21b4

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, #08030e is the darkest color, while #fdfdff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5f21b4

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f21b4 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
  • #444444 Achromatopsia 0.005% of the population
  • #493d5a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00509d Protanopia 1% of men
  • #005589 Deuteranopia 1% of men
  • #48555b Tritanopia 0.001% of the population
Trichromacy
  • #223fa5 Protanomaly 1% of men, 0.01% of women
  • #224298 Deuteranomaly 6% of men, 0.4% of women
  • #50427b Tritanomaly 0.01% of the population