colorhexa.com

#5b21d8 hex color

In a RGB color space, hex #5b21d8 is composed of 35.7% red, 12.9% green and 84.7% blue. Whereas in a CMYK color space, it is composed of 57.9% cyan, 84.7% magenta, 0% yellow and 15.3% black. It has a hue angle of 259 degrees, a saturation of 73.5% and a lightness of 48.8%. #5b21d8 color hex could be obtained by blending #b642ff with #0000b1. Closest websafe color is: #6633cc.

    • R 36
    • G 13
    • B 85

    RGB color chart

    • C 58
    • M 85
    • Y 0
    • K 15

    CMYK color chart

#5b21d8 color description : Strong violet.

The hexadecimal color #5b21d8 has RGB values of R:91, G:33, B:216 and CMYK values of C:0.58, M:0.85, Y:0, K:0.15. Its decimal value is 5972440.

Hex triplet 5b21d8 #5b21d8
RGB Decimal 91, 33, 216 rgb(91,33,216)
RGB Percent 35.7, 12.9, 84.7 rgb(35.7%,12.9%,84.7%)
CMYK 58, 85, 0, 15
HSL 259°, 73.5, 48.8 hsl(259,73.5%,48.8%)
HSV (or HSB) 259°, 84.7, 84.7
Web Safe 6633cc #6633cc
CIE-LAB 34.537, 65.257, -81.827
XYZ 17.251, 8.269, 65.649
xyY 0.189, 0.091, 8.269
CIE-LCH 34.537, 104.662, 308.572
CIE-LUV 34.537, 2.769, -111.485
Hunter-Lab 28.756, 56.757, -115.226
Binary 01011011, 00100001, 11011000

Complementary Color

Analogous Color

Split Complementary Color

Triadic Color

Tetradic Color

Monochromatic Color

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

Similar Colors

Text with hexadecimal color #5b21d8

This text has a font color of #5b21d8.

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

#5b21d8 background color

This paragraph has a background color of #5b21d8.

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

#5b21d8 border color

This element has a border color of #5b21d8.

<div style="border:1px solid #5b21d8;">Content here</div>

CSS codes

.text {color:#5b21d8;}
.background {background-color:#5b21d8;}
.border {border:1px solid #5b21d8;}

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

Shade Color Variation

Tint Color Variation

A tone is produced by adding gray to any pure hue. In this case, #7b7782 is the less saturated color, while #5004f5 is the most saturated one.

Tone Color Variation

Below, you can see how #5b21d8 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

  • #474747 Achromatopsia 0.005% of the population
  • #4b3f64 Atypical Achromatopsia 0.001% of the population

Dichromacy

  • #0057aa Protanopia 1% of men
  • #005c93 Deuteranopia 1% of men
  • #1c6269 Tritanopia 0.001% of the population

Trichromacy

  • #2143ba Protanomaly 1% of men, 0.01% of women
  • #2147ac Deuteranomaly 6% of men, 0.4% of women
  • #334a91 Tritanomaly 0.01% of the population