#663C8B#663C8B

#663C8B is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.4% C 0.130 H 306.4°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#663C8B
RGBrgb(102, 60, 139)
HSLhsl(272, 40%, 39%)
HSVhsv(272, 57%, 55%)
CMYKcmyk(26.6%, 56.8%, 0%, 45.5%)
CIE-LABlab(33.82, 34.38, -37.11)
CIE-LCHlch(33.82, 50.59, 312.81°)
OKLaboklab(44.4% 0.077 -0.1044)
OKLCHoklch(44.4% 0.13 306.4)
XYZxyz(11.7546, 7.9207, 25.3307)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663C8B #618B3C
analogous
#3F3C8B #663C8B #8B3C89
triadic
#663C8B #8B663C #3C8B66
tetradic
#663C8B #8B3F3C #618B3C #3C898B
square
#663C8B #8B3F3C #618B3C #3C898B
split-complementary
#663C8B #898B3C #3C8B3F
monochromatic
#271736 #472A60 #663C8B #8551B4 #A37BC6

Accessibility & contrast

On white

8.13
#663C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#663C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663C8B
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663C8B#FFFFFF#000000##FFFFFF
##663C8B1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214E8E
Deuteranopia (green-blind)
#2F5089
Tritanopia (blue-blind)
#604B5D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #663c8b;
/* rgb */ color: rgb(102, 60, 139);
/* oklch */ color: oklch(44.4% 0.130 306.4);
Tailwind
colors: {
  custom: {
    50: '#9473ad',
    500: '#663c8b',
    950: '#000000',
  },
}
SCSS
$custom: #663c8b;
$custom-light: #9473ad;
$custom-dark: #000000;
JSON
{
  "hex": "#663c8b",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 139
  },
  "hsl": {
    "h": 271.899,
    "s": 39.698,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44395,
    "c": 0.12973,
    "h": 306.4
  },
  "luminance": 0.07921
}

Semantic roles & 50–950 ramp

primary
#663C8B
secondary
#8FB073
accent
#D05890
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #663C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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