CSS Named Color / Web Safe Color

Copy-ready color values

HEX#663399
RGBrgb(102, 51, 153)
HSLhsl(270, 50%, 40%)
HSVhsv(270, 67%, 60%)
CMYK approx.cmyk(33, 67, 0, 40)

Color value table

FormatValueCopy
HEX#663399
RGBrgb(102, 51, 153)
HSLhsl(270, 50%, 40%)
HSVhsv(270, 67%, 60%)
CMYK approx.cmyk(33, 67, 0, 40)
CSS keywordrebeccapurple

Contrast and classification

DarkLightness8.41:1Contrast with white2.50:1Contrast with blackPurple / BlueColor family

Shade and tint preview

White 10%
#7547A3

White 30%
#9470B8

White 70%
#D1C2E0

White 90%
#F0EBF5

Black 10%
#5C2E8A

Black 30%
#47246B

Black 70%
#1F0F2E

Black 90%
#0A050F

Harmony palettes

Complementary

#99CC66
#B1D88B

Analogous

#603393
#663F8D

Triadic

#339966
#996633

Split complementary

#ABD582
#7DA754

Using Rebeccapurple

Rebeccapurple works best when it is chosen with contrast, surrounding colors, and interface state in mind. Use the HEX value for static CSS, RGB when you need channel-level control, and HSL when adjusting lightness or saturation for hover states. The CMYK value is an approximate screen-to-print conversion, so print workflows should still rely on calibrated design software or a printer profile.

CSS, SCSS, and Tailwind examples

:root {
  --color-rebeccapurple: #663399;
}

.button-primary {
  background: var(--color-rebeccapurple);
  color: #ffffff;
}

$rebeccapurple: #663399;

// Tailwind arbitrary value
class="bg-[#663399] text-white"