#663C7B#663C7B

#663C7B is a dark, moderate purple. Relative luminance 0.075; OKLCH L 43.4% C 0.110 H 313.4°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#663C7B
RGBrgb(102, 60, 123)
HSLhsl(280, 34%, 36%)
HSVhsv(280, 51%, 48%)
CMYKcmyk(17.1%, 51.2%, 0%, 51.8%)
CIE-LABlab(32.89, 30.47, -28.67)
CIE-LCHlch(32.89, 41.83, 316.74°)
OKLaboklab(43.41% 0.0755 -0.0798)
OKLCHoklch(43.41% 0.11 313.4)
XYZxyz(10.6699, 7.4868, 19.6181)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663C7B #517B3C
analogous
#463C7B #663C7B #7B3C70
triadic
#663C7B #7B663C #3C7B66
tetradic
#663C7B #7B463C #517B3C #3C707B
square
#663C7B #7B463C #517B3C #3C707B
split-complementary
#663C7B #707B3C #3C7B46
monochromatic
#221429 #442852 #663C7B #8850A4 #A475BC

Accessibility & contrast

On white

8.41
#663C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#663C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663C7B
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663C7B#FFFFFF#000000##FFFFFF
##663C7B1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4B7D
Deuteranopia (green-blind)
#3A4E79
Tritanopia (blue-blind)
#644656
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #663c7b;
/* rgb */ color: rgb(102, 60, 123);
/* oklch */ color: oklch(43.4% 0.110 313.4);
Tailwind
colors: {
  custom: {
    50: '#9373a1',
    500: '#663c7b',
    950: '#000000',
  },
}
SCSS
$custom: #663c7b;
$custom-light: #9373a1;
$custom-dark: #000000;
JSON
{
  "hex": "#663c7b",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 123
  },
  "hsl": {
    "h": 280,
    "s": 34.426,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4341,
    "c": 0.1099,
    "h": 313.4
  },
  "luminance": 0.07487
}

Semantic roles & 50–950 ramp

primary
#663C7B
secondary
#80A66D
accent
#CB5D82
background
#F9F7F9
surface
#F1EDF2
border
#CBC8CC
text
#0D080F
muted
#7E7B7E

Preview Lab

Preview with #663C7B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#663C7B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva