#5D3E7C color

#5D3E7C rgb(93, 62, 124)
Shades of purple

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

In the RGB color model it is made of 36.5% red, 24.3% green and 48.6% blue (93, 62, 124).

Its hue angle is 270°, with 33% saturation and 36% lightness. For print, the CMYK equivalent is 25% cyan, 50% magenta, 0% yellow and 51% black.

The closest named color is Drifting Violet (#5B4276), a difference of 2.4 ΔE, a small difference.

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

#5D3E7C color codes

HEX#5D3E7C
RGBrgb(93, 62, 124)
RGB percentrgb(36.5%, 24.3%, 48.6%)
HSLhsl(270, 33%, 36%)
HSV / HSBhsv(270, 50%, 49%)
CMYKcmyk(25%, 50%, 0%, 51%)
CIE LABlab(32.32, 26.77, -30.27)
CIE LCHlch(32.32, 40.41, 311.5)
CIE XYZxyz(9.874, 7.228, 19.94)
Decimal6110844
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #5d3e7c; }
.text { color: #5d3e7c; }
.border { border: 2px solid #5d3e7c; }
.transparent { background-color: rgb(93 62 124 / 50%); }
.gradient { background: linear-gradient(to right, #5d3e7c, #7c3e7c); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #5D3E7C?
#5D3E7C is a dark, desaturated violet, closest to the named color Drifting Violet. It belongs to the purple family of colors.
What is the RGB value of #5D3E7C?
The RGB value is 93, 62, 124: 93 red, 62 green and 124 blue on a 0 to 255 scale.
What is the complementary color of #5D3E7C?
The complementary color is #5D7C3E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5D3E7C?
White text. Black text has a contrast ratio of 2.45:1 and white text 8.59:1. WCAG asks for at least 4.5:1 for normal text.