#663B78#663B78

#663B78 is a dark, moderate purple. Relative luminance 0.073; OKLCH L 43.1% C 0.108 H 315.2°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#663B78
RGBrgb(102, 59, 120)
HSLhsl(282, 34%, 35%)
HSVhsv(282, 51%, 47%)
CMYKcmyk(15%, 50.8%, 0%, 52.9%)
CIE-LABlab(32.50, 30.35, -27.40)
CIE-LCHlch(32.50, 40.89, 317.92°)
OKLaboklab(43.07% 0.0766 -0.0762)
OKLCHoklch(43.07% 0.108 315.2)
XYZxyz(10.4331, 7.3091, 18.6269)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663B78 #4D783B
analogous
#473B78 #663B78 #783B6B
triadic
#663B78 #78663B #3B7866
tetradic
#663B78 #78473B #4D783B #3B6B78
square
#663B78 #78473B #4D783B #3B6B78
split-complementary
#663B78 #6B783B #3B7847
monochromatic
#201326 #43274F #663B78 #894FA1 #A573BA

Accessibility & contrast

On white

8.53
#663B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#663B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663B78
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663B78#FFFFFF#000000##FFFFFF
##663B781.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4A7A
Deuteranopia (green-blind)
#3B4E76
Tritanopia (blue-blind)
#654454
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #663b78;
/* rgb */ color: rgb(102, 59, 120);
/* oklch */ color: oklch(43.1% 0.108 315.2);
Tailwind
colors: {
  custom: {
    50: '#93729f',
    500: '#663b78',
    950: '#000000',
  },
}
SCSS
$custom: #663b78;
$custom-light: #93729f;
$custom-dark: #000000;
JSON
{
  "hex": "#663b78",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 120
  },
  "hsl": {
    "h": 282.295,
    "s": 34.078,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43067,
    "c": 0.10805,
    "h": 315.2
  },
  "luminance": 0.07309
}

Semantic roles & 50–950 ramp

primary
#663B78
secondary
#7CA46B
accent
#CA5E7E
background
#F9F7F9
surface
#F1EDF2
border
#CBC8CC
text
#0D080E
muted
#7E7B7E

Preview Lab

Preview with #663B78

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

Preview Lab → · Contrast checker → · Palette generator →

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