Skip to main content
matte

#663399

rebeccapurple

#663399 is the CSS named color "rebeccapurple", an exact match. In RGB it breaks down to red 102, green 51, and blue 153 out of 255 each. In HSL terms that's a hue of 270°, 50% saturation, and 40% lightness: a mid-tone — usable as an accent for buttons, links, and icons against either a light or dark background.

Every format

HEX#663399
RGBrgb(102, 51, 153)
HSLhsl(270° 50% 40%)
HSBhsb(270° 67% 60%)
OKLCHoklch(44% 0.160 303°)
OKLABoklab(44% 0.088 -0.134)
LCHlch(32% 61.2 309°)
CMYKcmyk(33% 67% 0% 40%)

Shades (darker)

#663399 · #5c288e · #531c83 · #490e78 · #40006d

Tints (lighter)

#663399 · #7644ab · #8655bd · #9766d0 · #a877e3

Shades mix #663399 toward black in even steps, useful for hover and pressed states in a UI; tints mix it toward white, useful for subtle backgrounds and disabled states that still read as the same color family.

On white: 8.41:1 — AAA
On black: 2.50:1 — fails

Frequently asked

What is #663399 in RGB?
#663399 is rgb(102, 51, 153) — red 102, green 51, blue 153 out of 255 each.
Does #663399 pass WCAG contrast on a white background?
It has a contrast ratio of 8.41:1 against white, which passes WCAG AAA for normal text.
What's a good background color to pair with #663399?
White text or a white background gives better contrast (8.41:1) than black (2.50:1).

Related colors

Full color tools