#663B72#663B72

#663B72 is a dark, moderate purple. Relative luminance 0.072; OKLCH L 42.7% C 0.101 H 318.6°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#663B72
RGBrgb(102, 59, 114)
HSLhsl(287, 32%, 34%)
HSVhsv(287, 48%, 45%)
CMYKcmyk(10.5%, 48.2%, 0%, 55.3%)
CIE-LABlab(32.19, 28.97, -24.12)
CIE-LCHlch(32.19, 37.70, 320.22°)
OKLaboklab(42.73% 0.0757 -0.0667)
OKLCHoklch(42.73% 0.101 318.6)
XYZxyz(10.0803, 7.1680, 16.7689)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663B72 #47723B
analogous
#4B3B72 #663B72 #723B63
triadic
#663B72 #72663B #3B7266
tetradic
#663B72 #724B3B #47723B #3B6372
square
#663B72 #724B3B #47723B #3B6372
split-complementary
#663B72 #63723B #3B724B
monochromatic
#1E1121 #42264A #663B72 #8A509A #A772B6

Accessibility & contrast

On white

8.63
#663B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#663B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663B72
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663B72#FFFFFF#000000##FFFFFF
##663B721.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324974
Deuteranopia (green-blind)
#3E4D70
Tritanopia (blue-blind)
#664251
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #663b72;
/* rgb */ color: rgb(102, 59, 114);
/* oklch */ color: oklch(42.7% 0.101 318.6);
Tailwind
colors: {
  custom: {
    50: '#93729b',
    500: '#663b72',
    950: '#000000',
  },
}
SCSS
$custom: #663b72;
$custom-light: #93729b;
$custom-dark: #000000;
JSON
{
  "hex": "#663b72",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 114
  },
  "hsl": {
    "h": 286.909,
    "s": 31.792,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42731,
    "c": 0.10086,
    "h": 318.6
  },
  "luminance": 0.07168
}

Semantic roles & 50–950 ramp

primary
#663B72
secondary
#75A069
accent
#C86077
background
#F9F7F9
surface
#F1EDF2
border
#CBC8CC
text
#0D080E
muted
#7E7B7E

Preview Lab

Preview with #663B72

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

Preview Lab → · Contrast checker → · Palette generator →

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