CSS color names · Purples

Rebecca Purple color: hex #663399, RGB and HSL

Rebecca Purple is the CSS keyword rebeccapurple, hex #663399, rgb(102, 51, 153), hsl(270, 50%, 40%). It is a dark, muted violet in the purples family. Below: the colors that go with it, its tints and shades, how it reads as text, and a complete interface palette built from it.

CSS name
rebeccapurple
Hex
#663399
RGB
rgb(102, 51, 153)
HSL
hsl(270, 50%, 40%)
On white
8.41:1 — passes AA for body text
On black
2.5:1 — fails AA; use as a fill, not text
.example {
  color: rebeccapurple;          /* keyword */
  color: #663399;          /* hex */
  color: rgb(102, 51, 153); /* rgb */
  color: hsl(270, 50%, 40%); /* hsl */
}

What colors go with rebecca purple

Each match keeps rebecca purple's saturation and lightness and rotates only the hue, so the relationship is the wheel's and nothing else. Any of these can be an accent beside rebecca purple as the primary; the harmony guides explain which rule suits which interface.

Complementary

The opposite hue, 180° away — the strongest contrast, best kept to one accent per screen.

#669933

Split-complementary

The two neighbors of the complement, at 150° and 210° — most of the contrast with less tension, and two accents instead of one.

#999933
#339933

Triadic

Two hues at 120° and 240° — three evenly spaced signals, the scheme charts and category colors want.

#996633
#339966

Analogous

The neighbors at −30° and +30° — calm and cohesive, with emphasis coming from weight and size rather than hue.

#333399
#993399

Tints and shades of rebecca purple

Tints add lightness toward white; shades remove it toward black. The hue and saturation stay fixed, so every step still reads as rebecca purple — these are the hover, pressed, disabled and surface variants a single brand color needs.

Tints (lighter)

#8040bf
#9966cc
#b38cd9
#ccb3e6
#e6d9f2

Shades (darker)

#552b80
#442266
#331a4d
#221133
#110819

A UI color palette built from rebecca purple

The eight semantic roles an interface actually uses, derived from rebecca purple as the primary with the split-complementary rule: secondary and accent rotate around the wheel, and the five neutrals take the hue at lightness steps tuned for light and dark mode. This is the same derivation the palette generator runs — open it there to change the rule, drag the anchors, or export the set as CSS variables.

Light mode
primary
#663399
secondary
#999933
accent
#339933
background
#fcfcfd
surface
#f5f3f6
text
#1a1221
muted
#735c8a
border
#e6e0eb
Dark mode
primary
#8c53c6
secondary
#c6c653
accent
#53c653
background
#140f1a
surface
#1f1726
text
#f5f3f6
muted
#a698b3
border
#382a46

Using rebecca purple in an interface

Purple is the hue most SaaS products have settled on for a primary — it is distinct from the blues of links and the reds and greens of status. The slate blues and indigo make dependable primaries; the light lavenders make tinted surfaces that still read as brand. Whichever role rebecca purple takes, define it once as a token rather than repeating the keyword: the semantic palette guide covers the eight roles, and the guides to complementary, triadic and the other color schemes explain how to weight the matches above.

What is the hex code for Rebecca Purple?
Rebecca Purple is #663399. In CSS the keyword rebeccapurple, the hex #663399, rgb(102, 51, 153) and hsl(270, 50%, 40%) all paint the same color.
What colors go with Rebecca Purple?
Its complement is #669933, the split-complementary pair is #999933 and #339933, the triadic partners are #996633 and #339966, and the analogous neighbors are #333399 and #993399. In an interface, use Rebecca Purple for most colored elements and one of these for a single accent, at roughly an 80/20 split.
What is the opposite of Rebecca Purple on the color wheel?
The opposite (complementary) color is #669933, the same saturation and lightness rotated 180° around the HSL wheel. Complementary pairs give the strongest contrast, which is why the complement should be used sparingly rather than at equal weight.
Can I use Rebecca Purple for text?
Rebecca Purple as text on white has a contrast ratio of 8.41:1, which passes WCAG AA for body text (4.5:1). On black it is 2.5:1, which fails for body text. It works as a text color on light surfaces.

Similar named colors

More purples

We'd like to use Google cookies to understand how Nodlume is used and to measure our advertising. Nothing loads until you choose, and declining does not affect anything in the app.