#5E2F82 color
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 | |
|---|---|---|
| RGB | rgb(94, 47, 130) | |
| RGB percent | rgb(36.9%, 18.4%, 51%) | |
| HSL | hsl(274, 47%, 35%) | |
| HSV / HSB | hsv(274, 64%, 51%) | |
| CMYK | cmyk(28%, 64%, 0%, 49%) | |
| CIE LAB | lab(29.47, 37.34, -38.54) | |
| CIE LCH | lch(29.47, 53.66, 314.09) | |
| CIE XYZ | xyz(9.661, 6.025, 21.769) | |
| Decimal | 6172546 | |
| Short hex | None (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 #5E2F82 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.2:1 | Fail | Fail | Fail |
| Sample text | 9.52:1 | Pass | Pass | Pass |
| #5E2F82 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.52:1 | Pass | Pass | Pass |
| Sample text | 2.2:1 | Fail | Fail | Fail |
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.
#044485Protanopia
no red cones#204680Deuteranopia
no green cones#584054Tritanopia
no blue cones#454545Achromatopsia
no color vision
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); }
Similar colors
#5c2e88Purple Patch#583580Kingfisher Daisy#572e89Night Fever#632f92Lucid Dreams#662288Sapphire Siren#522a6fPurple Seduction#6b327bGalactic Grapevine#663399Rebecca Purple
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.