#4A044E color
The swatch above shows #4A044E with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.
#4A044E is a very dark, vivid magenta, closest to the CSS named color indigo (#4B0082).
It is also a Tailwind CSS default: fuchsia-950. That means you can write bg-fuchsia-950 or text-fuchsia-950 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #4A044E |
| RGB | rgb(74, 4, 78) |
| HSL | hsl(297, 90%, 16%) |
| CMYK | cmyk(5%, 95%, 0%, 69%) |
| Decimal | 4850766 |
| CSS | color: #4A044E; |
| Android | 0xFF4A044E |
| Swift | UIColor(red: 0.290, green: 0.016, blue: 0.306, alpha: 1) |
Accessibility and contrast
| White text on #4A044E | 14.80:1 — AA pass · AA large pass · AAA pass |
| Black text on #4A044E | 1.42:1 — AA fail · AA large fail · AAA fail |
| Recommended text color | white |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #4A044E
Each swatch keeps the hue and saturation of #4A044E and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #4A044E
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #4A044E in code
/* CSS */
.element { color: #4A044E; background-color: #4A044E; }
.element { color: rgb(74 4 78); }
.element { color: hsl(297 90% 16%); }
/* Tailwind */
<div class="bg-fuchsia-950 text-white">
/* SCSS variable */
$brand: #4A044E;
Frequently asked questions
What color is #4A044E?
#4A044E is a very dark, vivid magenta. Its hue sits at 297° on the color wheel, with 90% saturation and 16% lightness.
What is #4A044E in RGB?
#4A044E converts to rgb(74, 4, 78) — 74 red, 4 green and 78 blue.
What is #4A044E in CMYK?
Approximately cmyk(5%, 95%, 0%, 69%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #4A044E be white or black?
White gives the better contrast ratio (14.80:1 versus 1.42:1).
What is the complementary color of #4A044E?
#084E04 — the hue directly opposite #4A044E on the color wheel.