#512942 color
The hex color #512942 is a dark, desaturated rose.
In the RGB color model it is made of 31.8% red, 16.1% green and 25.9% blue (81, 41, 66).
Its hue angle is 323°, with 33% saturation and 24% lightness. For print, the CMYK equivalent is 0% cyan, 49% magenta, 19% yellow and 68% black.
The closest named color is Murasaki (#4F284B), a difference of 3.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.03:1).
#512942 color codes
| HEX | #512942 | |
|---|---|---|
| RGB | rgb(81, 41, 66) | |
| RGB percent | rgb(31.8%, 16.1%, 25.9%) | |
| HSL | hsl(323, 33%, 24%) | |
| HSV / HSB | hsv(323, 49%, 32%) | |
| CMYK | cmyk(0%, 49%, 19%, 68%) | |
| CIE LAB | lab(22.75, 22.4, -7.56) | |
| CIE LCH | lch(22.75, 23.64, 341.34) | |
| CIE XYZ | xyz(5.17, 3.729, 5.601) | |
| Decimal | 5318978 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #512942, 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 #512942 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.75:1 | Fail | Fail | Fail |
| Sample text | 12.03:1 | Pass | Pass | Pass |
| #512942 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.03:1 | Pass | Pass | Pass |
| Sample text | 1.75: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 #512942 looks to people with the most common types of color vision deficiency.
#2c3243Protanopia
no red cones#363941Deuteranopia
no green cones#552932Tritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #512942; }
.text { color: #512942; }
.border { border: 2px solid #512942; }
.transparent { background-color: rgb(81 41 66 / 50%); }
.gradient { background: linear-gradient(to right, #512942, #51292e); }
Similar colors
#4f284bMurasaki#4e334eShadow Purple#543254Purple Prose#442244Purple Void#43182fBlackberry#44232fCastro#5c1c39Soul Anchor#492a34Wine Tasting
Closest common color name: Eggplant.
Questions
- What color is #512942?
- #512942 is a dark, desaturated rose, closest to the named color Murasaki. It belongs to the purple family of colors.
- What is the RGB value of #512942?
- The RGB value is 81, 41, 66: 81 red, 41 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #512942?
- The complementary color is #295138, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #512942?
- White text. Black text has a contrast ratio of 1.75:1 and white text 12.03:1. WCAG asks for at least 4.5:1 for normal text.