#663D7B#663D7B

#663D7B is a dark, moderate violet. Relative luminance 0.076; OKLCH L 43.6% C 0.108 H 313.2°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#663D7B
RGBrgb(102, 61, 123)
HSLhsl(280, 34%, 36%)
HSVhsv(280, 50%, 48%)
CMYKcmyk(17.1%, 50.4%, 0%, 51.8%)
CIE-LABlab(33.12, 29.88, -28.31)
CIE-LCHlch(33.12, 41.16, 316.55°)
OKLaboklab(43.58% 0.074 -0.0788)
OKLCHoklch(43.58% 0.108 313.2)
XYZxyz(10.7228, 7.5926, 19.6357)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663D7B #527B3D
analogous
#473D7B #663D7B #7B3D71
triadic
#663D7B #7B663D #3D7B66
tetradic
#663D7B #7B473D #527B3D #3D717B
square
#663D7B #7B473D #527B3D #3D717B
split-complementary
#663D7B #717B3D #3D7B47
monochromatic
#221429 #442952 #663D7B #8851A4 #A477BC

Accessibility & contrast

On white

8.34
#663D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#663D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663D7B
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663D7B#FFFFFF#000000##FFFFFF
##663D7B1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7D
Deuteranopia (green-blind)
#3B4F79
Tritanopia (blue-blind)
#644756
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #663d7b;
/* rgb */ color: rgb(102, 61, 123);
/* oklch */ color: oklch(43.6% 0.108 313.2);
Tailwind
colors: {
  custom: {
    50: '#9374a1',
    500: '#663d7b',
    950: '#000000',
  },
}
SCSS
$custom: #663d7b;
$custom-light: #9374a1;
$custom-dark: #000000;
JSON
{
  "hex": "#663d7b",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 123
  },
  "hsl": {
    "h": 279.677,
    "s": 33.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4358,
    "c": 0.10809,
    "h": 313.2
  },
  "luminance": 0.07592
}

Semantic roles & 50–950 ramp

primary
#663D7B
secondary
#81A66E
accent
#CA5E83
background
#F9F7F9
surface
#F1EDF2
border
#CBC8CC
text
#0D080F
muted
#7E7B7E

Preview Lab

Preview with #663D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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