#4C2845 color
The hex color #4C2845 is a dark, desaturated magenta.
In the RGB color model it is made of 29.8% red, 15.7% green and 27.1% blue (76, 40, 69).
Its hue angle is 312°, with 31% saturation and 23% lightness. For print, the CMYK equivalent is 0% cyan, 47% magenta, 9% yellow and 70% black.
The closest named color is Murasaki (#4F284B), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.38:1).
#4C2845 color codes
| HEX | #4C2845 | |
|---|---|---|
| RGB | rgb(76, 40, 69) | |
| RGB percent | rgb(29.8%, 15.7%, 27.1%) | |
| HSL | hsl(312, 31%, 23%) | |
| HSV / HSB | hsv(312, 47%, 30%) | |
| CMYK | cmyk(0%, 47%, 9%, 70%) | |
| CIE LAB | lab(21.89, 21.68, -10.99) | |
| CIE LCH | lch(21.89, 24.31, 333.13) | |
| CIE XYZ | xyz(4.813, 3.484, 6.048) | |
| Decimal | 4991045 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4C2845, 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 #4C2845 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.7:1 | Fail | Fail | Fail |
| Sample text | 12.38:1 | Pass | Pass | Pass |
| #4C2845 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 #4C2845 looks to people with the most common types of color vision deficiency.
#283146Protanopia
no red cones#313644Deuteranopia
no green cones#4f2a33Tritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #4c2845; }
.text { color: #4c2845; }
.border { border: 2px solid #4c2845; }
.transparent { background-color: rgb(76 40 69 / 50%); }
.gradient { background: linear-gradient(to right, #4c2845, #4c2833); }
Similar colors
#4f284bMurasaki#442244Purple Void#543254Purple Prose#4e334eShadow Purple#3b193fCreatures of the Night#391531Nightly Voyager#43182fBlackberry#5b365eLong Passionate Night
Closest common color name: Dark Purple.
Questions
- What color is #4C2845?
- #4C2845 is a dark, desaturated magenta, closest to the named color Murasaki. It belongs to the purple family of colors.
- What is the RGB value of #4C2845?
- The RGB value is 76, 40, 69: 76 red, 40 green and 69 blue on a 0 to 255 scale.
- What is the complementary color of #4C2845?
- The complementary color is #284C2F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4C2845?
- 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.