#C026D3 color
The swatch above shows #C026D3 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.
#C026D3 is a medium, vivid magenta, closest to the CSS named color darkorchid (#9932CC).
It is also a Tailwind CSS default: fuchsia-600. That means you can write bg-fuchsia-600 or text-fuchsia-600 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #C026D3 |
| RGB | rgb(192, 38, 211) |
| HSL | hsl(293, 69%, 49%) |
| CMYK | cmyk(9%, 82%, 0%, 17%) |
| Decimal | 12592851 |
| CSS | color: #C026D3; |
| Android | 0xFFC026D3 |
| Swift | UIColor(red: 0.753, green: 0.149, blue: 0.827, alpha: 1) |
Accessibility and contrast
| White text on #C026D3 | 4.71:1 — AA pass · AA large pass · AAA fail |
| Black text on #C026D3 | 4.46: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 #C026D3
Each swatch keeps the hue and saturation of #C026D3 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #C026D3
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #C026D3 in code
/* CSS */
.element { color: #C026D3; background-color: #C026D3; }
.element { color: rgb(192 38 211); }
.element { color: hsl(293 69% 49%); }
/* Tailwind */
<div class="bg-fuchsia-600 text-white">
/* SCSS variable */
$brand: #C026D3;
Frequently asked questions
What color is #C026D3?
#C026D3 is a medium, vivid magenta. Its hue sits at 293° on the color wheel, with 69% saturation and 49% lightness.
What is #C026D3 in RGB?
#C026D3 converts to rgb(192, 38, 211) — 192 red, 38 green and 211 blue.
What is #C026D3 in CMYK?
Approximately cmyk(9%, 82%, 0%, 17%). 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 #C026D3 be white or black?
White gives the better contrast ratio (4.71:1 versus 4.46:1).
What is the complementary color of #C026D3?
#3BD327 — the hue directly opposite #C026D3 on the color wheel.