#5D196A color
The hex color #5D196A is a dark, moderate magenta.
In the RGB color model it is made of 36.5% red, 9.8% green and 41.6% blue (93, 25, 106).
Its hue angle is 290°, with 62% saturation and 26% lightness. For print, the CMYK equivalent is 12% cyan, 76% magenta, 0% yellow and 58% black.
The closest named color is Elegant Purple Gown (#552367), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.59:1).
#5D196A color codes
| HEX | #5D196A | |
|---|---|---|
| RGB | rgb(93, 25, 106) | |
| RGB percent | rgb(36.5%, 9.8%, 41.6%) | |
| HSL | hsl(290, 62%, 26%) | |
| HSV / HSB | hsv(290, 76%, 42%) | |
| CMYK | cmyk(12%, 76%, 0%, 58%) | |
| CIE LAB | lab(23.88, 42.21, -32.24) | |
| CIE LCH | lch(23.88, 53.12, 322.62) | |
| CIE XYZ | xyz(7.463, 4.063, 14.024) | |
| Decimal | 6101354 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5D196A, 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 #5D196A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.81:1 | Fail | Fail | Fail |
| Sample text | 11.59:1 | Pass | Pass | Pass |
| #5D196A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.59:1 | Pass | Pass | Pass |
| Sample text | 1.81: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 #5D196A looks to people with the most common types of color vision deficiency.
#00346cProtanopia
no red cones#223b68Deuteranopia
no green cones#5e2940Tritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #5d196a; }
.text { color: #5d196a; }
.border { border: 2px solid #5d196a; }
.transparent { background-color: rgb(93 25 106 / 50%); }
.gradient { background: linear-gradient(to right, #5d196a, #6a194e); }
Similar colors
#552367Elegant Purple Gown#540d6eVelvet Vortex#551155Cosmic Explorer#581a57Purple Velour#522a6fPurple Seduction#550055Cloak and Dagger#602f6bByzantine Robe#480656Clairvoyant
Closest common color name: Purple.
Questions
- What color is #5D196A?
- #5D196A is a dark, moderate magenta, closest to the named color Elegant Purple Gown. It belongs to the purple family of colors.
- What is the RGB value of #5D196A?
- The RGB value is 93, 25, 106: 93 red, 25 green and 106 blue on a 0 to 255 scale.
- What is the complementary color of #5D196A?
- The complementary color is #266A19, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5D196A?
- White text. Black text has a contrast ratio of 1.81:1 and white text 11.59:1. WCAG asks for at least 4.5:1 for normal text.