#5f21b8 Color Information

In a RGB color space, hex #5f21b8 is composed of 37.3% red, 12.9% green and 72.2% blue. Whereas in a CMYK color space, it is composed of 48.4% cyan, 82.1% magenta, 0% yellow and 27.8% black. It has a hue angle of 264.6 degrees, a saturation of 69.6% and a lightness of 42.5%. #5f21b8 color hex could be obtained by blending #be42ff with #000071. Closest websafe color is: #6633cc.

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

#5f21b8 color description : Strong violet.

#5f21b8 Color Conversion

The hexadecimal color #5f21b8 has RGB values of R:95, G:33, B:184 and CMYK values of C:0.48, M:0.82, Y:0, K:0.28. Its decimal value is 6234552.

Hex triplet 5f21b8 #5f21b8
RGB Decimal 95, 33, 184 rgb(95,33,184)
RGB Percent 37.3, 12.9, 72.2 rgb(37.3%,12.9%,72.2%)
CMYK 48, 82, 0, 28
HSL 264.6°, 69.6, 42.5 hsl(264.6,69.6%,42.5%)
HSV (or HSB) 264.6°, 82.1, 72.2
Web Safe 6633cc #6633cc
CIE-LAB 31.764, 57.633, -67.675
XYZ 13.913, 6.981, 45.959
xyY 0.208, 0.104, 6.981
CIE-LCH 31.764, 88.89, 310.419
CIE-LUV 31.764, 7.898, -92.245
Hunter-Lab 26.422, 47.757, -84.636
Binary 01011111, 00100001, 10111000

Color Schemes with #5f21b8

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

Alternatives to #5f21b8

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

Similar Colors

#5f21b8 Preview

Text with hexadecimal color #5f21b8

This text has a font color of #5f21b8.

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

This paragraph has a background color of #5f21b8.

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

This element has a border color of #5f21b8.

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

Shades and Tints of #5f21b8

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

Shade Color Variation
Tint Color Variation

Tones of #5f21b8

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f21b8 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
  • #00568a Deuteranopia 1% of men
  • #46565c Tritanopia 0.001% of the population
Trichromacy
  • #2240a7 Protanomaly 1% of men, 0.01% of women
  • #22429b Deuteranomaly 6% of men, 0.4% of women
  • #4f437e Tritanomaly 0.01% of the population