#663A72#663A72

#663A72 is a dark, moderate purple. Relative luminance 0.071; OKLCH L 42.6% C 0.103 H 318.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#663A72
RGBrgb(102, 58, 114)
HSLhsl(287, 33%, 34%)
HSVhsv(287, 49%, 45%)
CMYKcmyk(10.5%, 49.1%, 0%, 55.3%)
CIE-LABlab(31.96, 29.56, -24.48)
CIE-LCHlch(31.96, 38.38, 320.37°)
OKLaboklab(42.56% 0.0773 -0.0677)
OKLCHoklch(42.56% 0.103 318.8)
XYZxyz(10.0294, 7.0661, 16.7519)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663A72 #46723A
analogous
#4A3A72 #663A72 #723A62
triadic
#663A72 #72663A #3A7266
tetradic
#663A72 #724A3A #46723A #3A6272
square
#663A72 #724A3A #46723A #3A6272
split-complementary
#663A72 #62723A #3A724A
monochromatic
#1D1121 #422549 #663A72 #8A4F9B #A770B6

Accessibility & contrast

On white

8.70
#663A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#663A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663A72
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663A72#FFFFFF#000000##FFFFFF
##663A721.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314874
Deuteranopia (green-blind)
#3D4D70
Tritanopia (blue-blind)
#664250
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #663a72;
/* rgb */ color: rgb(102, 58, 114);
/* oklch */ color: oklch(42.6% 0.103 318.8);
Tailwind
colors: {
  custom: {
    50: '#93729b',
    500: '#663a72',
    950: '#000000',
  },
}
SCSS
$custom: #663a72;
$custom-light: #93729b;
$custom-dark: #000000;
JSON
{
  "hex": "#663a72",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 114
  },
  "hsl": {
    "h": 287.143,
    "s": 32.558,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4256,
    "c": 0.10272,
    "h": 318.8
  },
  "luminance": 0.07066
}

Semantic roles & 50–950 ramp

primary
#663A72
secondary
#74A068
accent
#C95F76
background
#F9F6F9
surface
#F1ECF2
border
#CBC7CC
text
#0D080E
muted
#7E7B7E

Preview Lab

Preview with #663A72

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

Preview Lab → · Contrast checker → · Palette generator →

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