Rebeccapurple — #663399
#663399 is a medium, moderately saturated violet. It is the CSS named color rebeccapurple.
Color values
| HEX | #663399 |
| RGB | rgb(102, 51, 153) |
| HSL | hsl(270, 50%, 40%) |
| CMYK | cmyk(33%, 67%, 0%, 40%) |
| Decimal | 6697881 |
| CSS | color: #663399; |
| Android | 0xFF663399 |
| Swift | UIColor(red: 0.400, green: 0.200, blue: 0.600, alpha: 1) |
Accessibility and contrast
| White text on #663399 | 8.41:1 — AA pass · AA large pass · AAA pass |
| Black text on #663399 | 2.50: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 #663399
Each swatch keeps the hue and saturation of #663399 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #663399
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #663399 in code
/* CSS */
.element { color: #663399; background-color: #663399; }
.element { color: rgb(102 51 153); }
.element { color: hsl(270 50% 40%); }
/* Tailwind arbitrary value */
<div class="bg-[#663399] text-white">
/* SCSS variable */
$brand: #663399;
Frequently asked questions
What color is #663399?
#663399 is a medium, moderately saturated violet, which CSS calls rebeccapurple. Its hue sits at 270° on the color wheel, with 50% saturation and 40% lightness.
What is #663399 in RGB?
#663399 converts to rgb(102, 51, 153) — 102 red, 51 green and 153 blue.
What is #663399 in CMYK?
Approximately cmyk(33%, 67%, 0%, 40%). 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 #663399 be white or black?
White gives the better contrast ratio (8.41:1 versus 2.50:1).
What is the complementary color of #663399?
#669933 — the hue directly opposite #663399 on the color wheel.