#5D3987 color

#5D3987 rgb(93, 57, 135)
Shades of purple

The hex color #5D3987 is a dark, desaturated violet.

In the RGB color model it is made of 36.5% red, 22.4% green and 52.9% blue (93, 57, 135).

Its hue angle is 268°, with 41% saturation and 38% lightness. For print, the CMYK equivalent is 31% cyan, 58% magenta, 0% yellow and 47% black.

The closest named color is Kingfisher Daisy (#583580), a difference of 1.6 ΔE, which is barely visible.

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

#5D3987 color codes

HEX#5D3987
RGBrgb(93, 57, 135)
RGB percentrgb(36.5%, 22.4%, 52.9%)
HSLhsl(268, 41%, 38%)
HSV / HSBhsv(268, 58%, 53%)
CMYKcmyk(31%, 58%, 0%, 47%)
CIE LABlab(31.81, 32.67, -37.91)
CIE LCHlch(31.81, 50.05, 310.75)
CIE XYZxyz(10.35, 7.003, 23.723)
Decimal6109575
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5D3987, 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 #5D3987RatioAAAAAAA large
Sample text2.4:1FailFailFail
Sample text8.75:1PassPassPass
#5D3987 as text onRatioAAAAAAA large
Sample text8.75:1PassPassPass
Sample text2.4: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 #5D3987 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5d3987; }
.text { color: #5d3987; }
.border { border: 2px solid #5d3987; }
.transparent { background-color: rgb(93 57 135 / 50%); }
.gradient { background: linear-gradient(to right, #5d3987, #843987); }
Background
Text color
Border

Similar colors

Questions

What color is #5D3987?
#5D3987 is a dark, desaturated violet, closest to the named color Kingfisher Daisy. It belongs to the purple family of colors.
What is the RGB value of #5D3987?
The RGB value is 93, 57, 135: 93 red, 57 green and 135 blue on a 0 to 255 scale.
What is the complementary color of #5D3987?
The complementary color is #638739, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5D3987?
White text. Black text has a contrast ratio of 2.4:1 and white text 8.75:1. WCAG asks for at least 4.5:1 for normal text.