#5b2a98 Color Information

In a RGB color space, hex #5b2a98 is composed of 35.7% red, 16.5% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 40.1% cyan, 72.4% magenta, 0% yellow and 40.4% black. It has a hue angle of 266.7 degrees, a saturation of 56.7% and a lightness of 38%. #5b2a98 color hex could be obtained by blending #b654ff with #000031. Closest websafe color is: #663399.

    • R 36
    • G 16
    • B 60
    RGB color chart
    • C 40
    • M 72
    • Y 0
    • K 40
    CMYK color chart

#5b2a98 color description : Dark violet.

#5b2a98 Color Conversion

The hexadecimal color #5b2a98 has RGB values of R:91, G:42, B:152 and CMYK values of C:0.4, M:0.72, Y:0, K:0.4. Its decimal value is 5974680.

Hex triplet 5b2a98 #5b2a98
RGB Decimal 91, 42, 152 rgb(91,42,152)
RGB Percent 35.7, 16.5, 59.6 rgb(35.7%,16.5%,59.6%)
CMYK 40, 72, 0, 40
HSL 266.7°, 56.7, 38 hsl(266.7,56.7%,38%)
HSV (or HSB) 266.7°, 72.4, 59.6
Web Safe 663399 #663399
CIE-LAB 29.781, 44.913, -51.672
XYZ 10.809, 6.147, 30.321
xyY 0.229, 0.13, 6.147
CIE-LCH 29.781, 68.463, 310.997
CIE-LUV 29.781, 9.698, -70.898
Hunter-Lab 24.793, 34.43, -55.153
Binary 01011011, 00101010, 10011000

Color Schemes with #5b2a98

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

Alternatives to #5b2a98

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

Similar Colors

#5b2a98 Preview

Text with hexadecimal color #5b2a98

This text has a font color of #5b2a98.

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

This paragraph has a background color of #5b2a98.

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

This element has a border color of #5b2a98.

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

Shades and Tints of #5b2a98

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

Shade Color Variation
Tint Color Variation

Tones of #5b2a98

A tone is produced by adding gray to any pure hue. In this case, #615e64 is the less saturated color, while #5705bd is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5b2a98 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
  • #494056 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004d97 Protanopia 1% of men
  • #005185 Deuteranopia 1% of men
  • #504f54 Tritanopia 0.001% of the population
Trichromacy
  • #214097 Protanomaly 1% of men, 0.01% of women
  • #21438c Deuteranomaly 6% of men, 0.4% of women
  • #54416d Tritanomaly 0.01% of the population