#5B3D66 color

#5B3D66 rgb(91, 61, 102)
Shades of purple

The hex color #5B3D66 is a dark, desaturated magenta.

In the RGB color model it is made of 35.7% red, 23.9% green and 40% blue (91, 61, 102).

Its hue angle is 284°, with 25% saturation and 32% lightness. For print, the CMYK equivalent is 11% cyan, 40% magenta, 0% yellow and 60% black.

The closest named color is Long Passionate Night (#5B365E), a difference of 2.7 ΔE, a small difference.

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

#5B3D66 color codes

HEX#5B3D66
RGBrgb(91, 61, 102)
RGB percentrgb(35.7%, 23.9%, 40%)
HSLhsl(284, 25%, 32%)
HSV / HSBhsv(284, 40%, 40%)
CMYKcmyk(11%, 40%, 0%, 60%)
CIE LABlab(30.69, 21.29, -18.94)
CIE LCHlch(30.69, 28.5, 318.34)
CIE XYZxyz(8.381, 6.521, 13.385)
Decimal5979494
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5B3D66, 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 #5B3D66RatioAAAAAAA large
Sample text2.3:1FailFailFail
Sample text9.11:1PassPassPass
#5B3D66 as text onRatioAAAAAAA large
Sample text9.11:1PassPassPass
Sample text2.3: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 #5B3D66 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5b3d66; }
.text { color: #5b3d66; }
.border { border: 2px solid #5b3d66; }
.transparent { background-color: rgb(91 61 102 / 50%); }
.gradient { background: linear-gradient(to right, #5b3d66, #663d5d); }
Background
Text color
Border

Similar colors

Closest common color name: Byzantium.

Questions

What color is #5B3D66?
#5B3D66 is a dark, desaturated magenta, closest to the named color Long Passionate Night. It belongs to the purple family of colors.
What is the RGB value of #5B3D66?
The RGB value is 91, 61, 102: 91 red, 61 green and 102 blue on a 0 to 255 scale.
What is the complementary color of #5B3D66?
The complementary color is #48663D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5B3D66?
White text. Black text has a contrast ratio of 2.3:1 and white text 9.11:1. WCAG asks for at least 4.5:1 for normal text.