#663E7A#663E7A

#663E7A is a dark, moderate purple. Relative luminance 0.077; OKLCH L 43.7% C 0.105 H 313.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#663E7A
RGBrgb(102, 62, 122)
HSLhsl(280, 33%, 36%)
HSVhsv(280, 49%, 48%)
CMYKcmyk(16.4%, 49.2%, 0%, 52.2%)
CIE-LABlab(33.30, 29.05, -27.40)
CIE-LCHlch(33.30, 39.93, 316.67°)
OKLaboklab(43.7% 0.0723 -0.0762)
OKLCHoklch(43.7% 0.105 313.5)
XYZxyz(10.7144, 7.6754, 19.3257)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663E7A #527A3E
analogous
#483E7A #663E7A #7A3E70
triadic
#663E7A #7A663E #3E7A66
tetradic
#663E7A #7A483E #527A3E #3E707A
square
#663E7A #7A483E #527A3E #3E707A
split-complementary
#663E7A #707A3E #3E7A48
monochromatic
#221529 #442951 #663E7A #8853A3 #A478BA

Accessibility & contrast

On white

8.28
#663E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#663E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663E7A
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663E7A#FFFFFF#000000##FFFFFF
##663E7A1.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7C
Deuteranopia (green-blind)
#3C4F78
Tritanopia (blue-blind)
#644756
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #663e7a;
/* rgb */ color: rgb(102, 62, 122);
/* oklch */ color: oklch(43.7% 0.105 313.5);
Tailwind
colors: {
  custom: {
    50: '#9374a1',
    500: '#663e7a',
    950: '#000000',
  },
}
SCSS
$custom: #663e7a;
$custom-light: #9374a1;
$custom-dark: #000000;
JSON
{
  "hex": "#663e7a",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 122
  },
  "hsl": {
    "h": 280,
    "s": 32.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43695,
    "c": 0.10502,
    "h": 313.5
  },
  "luminance": 0.07675
}

Semantic roles & 50–950 ramp

primary
#663E7A
secondary
#81A56F
accent
#C95F82
background
#F9F7F9
surface
#F1EDF2
border
#CBC8CC
text
#0D080F
muted
#7E7B7E

Preview Lab

Preview with #663E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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