#663A7C#663A7C

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

Color values

HEX#663A7C
RGBrgb(102, 58, 124)
HSLhsl(280, 36%, 36%)
HSVhsv(280, 53%, 49%)
CMYKcmyk(17.7%, 53.2%, 0%, 51.4%)
CIE-LABlab(32.49, 31.87, -29.92)
CIE-LCHlch(32.49, 43.71, 316.81°)
OKLaboklab(43.13% 0.0787 -0.0834)
OKLCHoklch(43.13% 0.115 313.3)
XYZxyz(10.6300, 7.3064, 19.9152)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663A7C #507C3A
analogous
#453A7C #663A7C #7C3A71
triadic
#663A7C #7C663A #3A7C66
tetradic
#663A7C #7C453A #507C3A #3A717C
square
#663A7C #7C453A #507C3A #3A717C
split-complementary
#663A7C #717C3A #3A7C45
monochromatic
#211329 #442652 #663A7C #884EA6 #A573BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##663A7C#FFFFFF#000000##FFFFFF
##663A7C1.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)
#2A4A7E
Deuteranopia (green-blind)
#384E7A
Tritanopia (blue-blind)
#644555
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #663a7c;
/* rgb */ color: rgb(102, 58, 124);
/* oklch */ color: oklch(43.1% 0.115 313.3);
Tailwind
colors: {
  custom: {
    50: '#9372a2',
    500: '#663a7c',
    950: '#000000',
  },
}
SCSS
$custom: #663a7c;
$custom-light: #9372a2;
$custom-dark: #000000;
JSON
{
  "hex": "#663a7c",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 124
  },
  "hsl": {
    "h": 280,
    "s": 36.264,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43134,
    "c": 0.11469,
    "h": 313.3
  },
  "luminance": 0.07306
}

Semantic roles & 50–950 ramp

primary
#663A7C
secondary
#7FA76B
accent
#CC5C81
background
#F9F6FA
surface
#F1ECF3
border
#CBC7CD
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #663A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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