#9C169C color
#9C169C is a dark, vivid magenta, closest to the CSS named color darkmagenta (#8B008B).
Color values
| HEX | #9C169C |
| RGB | rgb(156, 22, 156) |
| HSL | hsl(300, 75%, 35%) |
| CMYK | cmyk(0%, 86%, 0%, 39%) |
| Decimal | 10229404 |
| CSS | color: #9C169C; |
| Android | 0xFF9C169C |
| Swift | UIColor(red: 0.612, green: 0.086, blue: 0.612, alpha: 1) |
Accessibility and contrast
| White text on #9C169C | 6.98:1 — AA pass · AA large pass · AAA fail |
| Black text on #9C169C | 3.01:1 — AA fail · AA large pass · 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 #9C169C
Each swatch keeps the hue and saturation of #9C169C and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #9C169C
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #9C169C in code
/* CSS */
.element { color: #9C169C; background-color: #9C169C; }
.element { color: rgb(156 22 156); }
.element { color: hsl(300 75% 35%); }
/* Tailwind arbitrary value */
<div class="bg-[#9C169C] text-white">
/* SCSS variable */
$brand: #9C169C;
Frequently asked questions
What color is #9C169C?
#9C169C is a dark, vivid magenta. Its hue sits at 300° on the color wheel, with 75% saturation and 35% lightness.
What is #9C169C in RGB?
#9C169C converts to rgb(156, 22, 156) — 156 red, 22 green and 156 blue.
What is #9C169C in CMYK?
Approximately cmyk(0%, 86%, 0%, 39%). 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 #9C169C be white or black?
White gives the better contrast ratio (6.98:1 versus 3.01:1).
What is the complementary color of #9C169C?
#169C16 — the hue directly opposite #9C169C on the color wheel.