#5B1952 color

#5B1952 rgb(91, 25, 82)
Shades of purple

The hex color #5B1952 is a dark, moderate magenta.

In the RGB color model it is made of 35.7% red, 9.8% green and 32.2% blue (91, 25, 82).

Its hue angle is 308°, with 57% saturation and 23% lightness. For print, the CMYK equivalent is 0% cyan, 73% magenta, 10% yellow and 64% black.

The closest named color is Purple Velour (#581A57), a difference of 1.9 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 12.31:1).

#5B1952 color codes

HEX#5B1952
RGBrgb(91, 25, 82)
RGB percentrgb(35.7%, 9.8%, 32.2%)
HSLhsl(308, 57%, 23%)
HSV / HSBhsv(308, 73%, 36%)
CMYKcmyk(0%, 73%, 10%, 64%)
CIE LABlab(22.05, 37.11, -19.32)
CIE LCHlch(22.05, 41.84, 332.49)
CIE XYZxyz(6.185, 3.529, 8.336)
Decimal5970258
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5B1952, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #5B1952RatioAAAAAAA large
Sample text1.71:1FailFailFail
Sample text12.31:1PassPassPass
#5B1952 as text onRatioAAAAAAA large
Sample text12.31:1PassPassPass
Sample text1.71:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #5B1952 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5b1952; }
.text { color: #5b1952; }
.border { border: 2px solid #5b1952; }
.transparent { background-color: rgb(91 25 82 / 50%); }
.gradient { background: linear-gradient(to right, #5b1952, #5b1931); }
Background
Text color
Border

Similar colors

Questions

What color is #5B1952?
#5B1952 is a dark, moderate magenta, closest to the named color Purple Velour. It belongs to the purple family of colors.
What is the RGB value of #5B1952?
The RGB value is 91, 25, 82: 91 red, 25 green and 82 blue on a 0 to 255 scale.
What is the complementary color of #5B1952?
The complementary color is #195B22, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5B1952?
White text. Black text has a contrast ratio of 1.71:1 and white text 12.31:1. WCAG asks for at least 4.5:1 for normal text.