#663399

RebeccaPurple — Color Codes & Palette

#663399  ·  rgb(102, 51, 153)  ·  hsl(270, 50%, 40%)

Color Codes

Format Value
HEX #663399
RGB rgb(102, 51, 153)
HSL hsl(270, 50%, 40%)

Shades of RebeccaPurple

#5C2E8A#52297A#47246B#3D1F5C#331A4D#29143D#1F0F2E#140A1F

Tints of RebeccaPurple

#753BB0#8547C2#945EC9#A375D1#B38CD9#C2A3E0#D1BAE8#E0D1F0

Color Pairings & Harmony

Complementary
#669933
Analogous +30°
#993399
Analogous −30°
#333399
Triadic +120°
#996633
Triadic −120°
#339966

Contrast & Accessibility (WCAG 2.1)

vs. White (#FFFFFF)
8.41:1 — AAA pass for normal text
vs. Black (#000000)
2.50:1 — Fail

CSS Snippet

.element {
  color: #663399;
}

.element-bg {
  background-color: #663399;
  color: #ffffff;
}

.element-border {
  border: 2px solid #663399;
}

About RebeccaPurple

RebeccaPurple is a medium color with high saturation, defined by the hex code #663399. Its exact color model values are rgb(102, 51, 153) in RGB and hsl(270, 50%, 40%) in HSL (hue 270°, saturation 50%, lightness 40%). On a white background the contrast ratio is 8.41:1 — AAA pass for normal text, and on black it is 2.50:1 — Fail. Use RebeccaPurple for UI elements, backgrounds, text, borders, or decorative accents. The shades section below shows progressively darker variations, while the tints strip shows progressively lighter versions — both useful for building a tonal palette. The harmony swatches provide complementary, analogous, and triadic pairings based on the HSL hue wheel.

Want to explore this color interactively, generate palettes, or convert between color formats? The DevArbor Color Picker has you covered.

Open the Color Picker →

Frequently Asked Questions

What is the RGB value of RebeccaPurple?
The RGB value of RebeccaPurple (#663399) is rgb(102, 51, 153). Red = rgb(102, 51, 153), representing the amounts of red, green, and blue light on a 0–255 scale.
Is RebeccaPurple accessible on a white background?
The contrast ratio of RebeccaPurple on white (#FFFFFF) is 8.41:1 — AAA pass for normal text. On black (#000000) the contrast ratio is 2.50:1 — Fail. WCAG 2.1 requires 4.5:1 for AA (normal text) and 7:1 for AAA.
What colors pair well with RebeccaPurple?
Based on color theory, RebeccaPurple (hsl(270, 50%, 40%)) pairs well with its complementary, analogous, and triadic hues. See the harmony swatches above for the exact hex values of each pairing type.