#663D72#663D72

#663D72 is a dark, moderate purple. Relative luminance 0.074; OKLCH L 43.1% C 0.097 H 318.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#663D72
RGBrgb(102, 61, 114)
HSLhsl(286, 30%, 34%)
HSVhsv(286, 46%, 45%)
CMYKcmyk(10.5%, 46.5%, 0%, 55.3%)
CIE-LABlab(32.65, 27.79, -23.40)
CIE-LCHlch(32.65, 36.32, 319.90°)
OKLaboklab(43.08% 0.0725 -0.0646)
OKLCHoklch(43.08% 0.097 318.3)
XYZxyz(10.1851, 7.3775, 16.8038)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663D72 #49723D
analogous
#4C3D72 #663D72 #723D64
triadic
#663D72 #72663D #3D7266
tetradic
#663D72 #724C3D #49723D #3D6472
square
#663D72 #724C3D #49723D #3D6472
split-complementary
#663D72 #64723D #3D724C
monochromatic
#1F1222 #42284A #663D72 #8A529A #A675B5

Accessibility & contrast

On white

8.48
#663D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#663D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663D72
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663D72#FFFFFF#000000##FFFFFF
##663D721.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A74
Deuteranopia (green-blind)
#404E70
Tritanopia (blue-blind)
#664452
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #663d72;
/* rgb */ color: rgb(102, 61, 114);
/* oklch */ color: oklch(43.1% 0.097 318.3);
Tailwind
colors: {
  custom: {
    50: '#93749b',
    500: '#663d72',
    950: '#000000',
  },
}
SCSS
$custom: #663d72;
$custom-light: #93749b;
$custom-dark: #000000;
JSON
{
  "hex": "#663d72",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 114
  },
  "hsl": {
    "h": 286.415,
    "s": 30.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43078,
    "c": 0.09709,
    "h": 318.3
  },
  "luminance": 0.07377
}

Semantic roles & 50–950 ramp

primary
#663D72
secondary
#779F6C
accent
#C76178
background
#F9F7F9
surface
#F1EDF2
border
#CBC8CC
text
#0D080E
muted
#7E7B7E

Preview Lab

Preview with #663D72

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

Preview Lab → · Contrast checker → · Palette generator →

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