#5E154F color
The hex color #5E154F is a dark, moderate magenta.
In the RGB color model it is made of 36.9% red, 8.2% green and 31% blue (94, 21, 79).
Its hue angle is 312°, with 63% saturation and 23% lightness. For print, the CMYK equivalent is 0% cyan, 78% magenta, 16% yellow and 63% black.
The closest named color is Purple Velour (#581A57), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.38:1).
#5E154F color codes
| HEX | #5E154F | |
|---|---|---|
| RGB | rgb(94, 21, 79) | |
| RGB percent | rgb(36.9%, 8.2%, 31%) | |
| HSL | hsl(312, 63%, 23%) | |
| HSV / HSB | hsv(312, 78%, 37%) | |
| CMYK | cmyk(0%, 78%, 16%, 63%) | |
| CIE LAB | lab(21.88, 39.05, -17.53) | |
| CIE LCH | lch(21.88, 42.8, 335.82) | |
| CIE XYZ | xyz(6.296, 3.481, 7.736) | |
| Decimal | 6165839 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5E154F, 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 #5E154F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.7:1 | Fail | Fail | Fail |
| Sample text | 12.38:1 | Pass | Pass | Pass |
| #5E154F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.38:1 | Pass | Pass | Pass |
| Sample text | 1.7: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 #5E154F looks to people with the most common types of color vision deficiency.
#182d51Protanopia
no red cones#30384dDeuteranopia
no green cones#631930Tritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #5e154f; }
.text { color: #5e154f; }
.border { border: 2px solid #5e154f; }
.transparent { background-color: rgb(94 21 79 / 50%); }
.gradient { background: linear-gradient(to right, #5e154f, #5e152b); }
Similar colors
#581a57Purple Velour#551155Cosmic Explorer#6b295aPretty in Prune#550055Cloak and Dagger#750851Velvet#702963Byzantium#441144Velvet Cosmos#4f284bMurasaki
Questions
- What color is #5E154F?
- #5E154F is a dark, moderate magenta, closest to the named color Purple Velour. It belongs to the purple family of colors.
- What is the RGB value of #5E154F?
- The RGB value is 94, 21, 79: 94 red, 21 green and 79 blue on a 0 to 255 scale.
- What is the complementary color of #5E154F?
- The complementary color is #155E24, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5E154F?
- White text. Black text has a contrast ratio of 1.7:1 and white text 12.38:1. WCAG asks for at least 4.5:1 for normal text.