Skip to content
Color Codes

CSS named color

RebeccaPurple Color Code

RebeccaPurple is a medium, moderately saturated purple with the hex code #663399. In RGB it is rgb(102, 51, 153), in HSL hsl(270, 50%, 40%) and in CMYK cmyk(33%, 67%, 0%, 40%).

RebeccaPurple
#663399

Color values

In CSS you can write it as the keyword rebeccapurple.

White text on RebeccaPurple has a contrast ratio of 8.41:1 and black text 2.50:1, so white text is the more readable choice.

The closest Tailwind CSS color is Purple 800 (#6B21A8).

Use RebeccaPurple in CSS

.element {
  color: rebeccapurple;
  background-color: #663399;
  border-color: rgb(102, 51, 153);
}

Tints and shades of RebeccaPurple

Ten steps from light to dark at the same hue. Click any swatch to copy it.

Colors that go with RebeccaPurple

Color-wheel harmonies built from #663399. Click a swatch to copy it or open the set in the color wheel.

Complementary

Open in color wheel

Opposite hues for maximum contrast and energetic accents.

Neighboring hues for calm, cohesive surfaces.

Three evenly spaced hues for balanced, colorful systems.

Split complementary

Open in color wheel

A base plus the two neighbors of its complement — contrast with less tension.

Text contrast on RebeccaPurple

Aa
White text
8.41:1
AAA
Aa
Black text
2.50:1
Fail
Check in the contrast checker

Colors similar to RebeccaPurple

Palettes with similar colors

Questions about RebeccaPurple

What is the hex code for RebeccaPurple?

The hex code for RebeccaPurple is #663399. Its RGB value is rgb(102, 51, 153) and its HSL value is hsl(270, 50%, 40%).

What colors go with RebeccaPurple?

The complementary color of RebeccaPurple is #669933. For a softer scheme try the analogous colors #333399 and #993399; for a balanced three-color scheme use the triadic colors #996633 and #339966.

Is RebeccaPurple readable as a text color?

On a white background RebeccaPurple has a contrast ratio of 8.41:1, which passes WCAG AA for normal text (4.5:1). On black it reaches 2.50:1.

More purple colors