#5E2F82 color

#5E2F82 rgb(94, 47, 130)
Shades of purple

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

In the RGB color model it is made of 36.9% red, 18.4% green and 51% blue (94, 47, 130).

Its hue angle is 274°, with 47% saturation and 35% lightness. For print, the CMYK equivalent is 28% cyan, 64% magenta, 0% yellow and 49% black.

The closest named color is Purple Patch (#5C2E88), a difference of 1.5 ΔE, which is barely visible.

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

#5E2F82 color codes

HEX#5E2F82
RGBrgb(94, 47, 130)
RGB percentrgb(36.9%, 18.4%, 51%)
HSLhsl(274, 47%, 35%)
HSV / HSBhsv(274, 64%, 51%)
CMYKcmyk(28%, 64%, 0%, 49%)
CIE LABlab(29.47, 37.34, -38.54)
CIE LCHlch(29.47, 53.66, 314.09)
CIE XYZxyz(9.661, 6.025, 21.769)
Decimal6172546
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #5e2f82; }
.text { color: #5e2f82; }
.border { border: 2px solid #5e2f82; }
.transparent { background-color: rgb(94 47 130 / 50%); }
.gradient { background: linear-gradient(to right, #5e2f82, #822f7d); }
Background
Text color
Border

Similar colors

Questions

What color is #5E2F82?
#5E2F82 is a dark, desaturated violet, closest to the named color Purple Patch. It belongs to the purple family of colors.
What is the RGB value of #5E2F82?
The RGB value is 94, 47, 130: 94 red, 47 green and 130 blue on a 0 to 255 scale.
What is the complementary color of #5E2F82?
The complementary color is #53822F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5E2F82?
White text. Black text has a contrast ratio of 2.2:1 and white text 9.52:1. WCAG asks for at least 4.5:1 for normal text.