#51135A color
The hex color #51135A is a dark, moderate magenta.
In the RGB color model it is made of 31.8% red, 7.5% green and 35.3% blue (81, 19, 90).
Its hue angle is 292°, with 65% saturation and 21% lightness. For print, the CMYK equivalent is 10% cyan, 79% magenta, 0% yellow and 65% black.
The closest named color is Cosmic Explorer (#551155), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.2:1).
#51135A color codes
| HEX | #51135A | |
|---|---|---|
| RGB | rgb(81, 19, 90) | |
| RGB percent | rgb(31.8%, 7.5%, 35.3%) | |
| HSL | hsl(292, 65%, 21%) | |
| HSV / HSB | hsv(292, 79%, 35%) | |
| CMYK | cmyk(10%, 79%, 0%, 65%) | |
| CIE LAB | lab(19.86, 38.5, -28.27) | |
| CIE LCH | lch(19.86, 47.77, 323.71) | |
| CIE XYZ | xyz(5.471, 2.954, 9.953) | |
| Decimal | 5313370 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #51135A, 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 #51135A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.59:1 | Fail | Fail | Fail |
| Sample text | 13.2:1 | Pass | Pass | Pass |
| #51135A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.2:1 | Pass | Pass | Pass |
| Sample text | 1.59: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 #51135A looks to people with the most common types of color vision deficiency.
#002c5cProtanopia
no red cones#1d3258Deuteranopia
no green cones#522035Tritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #51135a; }
.text { color: #51135a; }
.border { border: 2px solid #51135a; }
.transparent { background-color: rgb(81 19 90 / 50%); }
.gradient { background: linear-gradient(to right, #51135a, #5a1340); }
Similar colors
#551155Cosmic Explorer#480656Clairvoyant#550055Cloak and Dagger#581a57Purple Velour#552367Elegant Purple Gown#431c53Plunged Into Darkness#540d6eVelvet Vortex#4a2559Wonka Purple
Closest common color name: Byzantium.
Questions
- What color is #51135A?
- #51135A is a dark, moderate magenta, closest to the named color Cosmic Explorer. It belongs to the purple family of colors.
- What is the RGB value of #51135A?
- The RGB value is 81, 19, 90: 81 red, 19 green and 90 blue on a 0 to 255 scale.
- What is the complementary color of #51135A?
- The complementary color is #1C5A13, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #51135A?
- White text. Black text has a contrast ratio of 1.59:1 and white text 13.2:1. WCAG asks for at least 4.5:1 for normal text.