#663B8D#663B8D

#663B8D is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.4% C 0.134 H 305.9°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#663B8D
RGBrgb(102, 59, 141)
HSLhsl(271, 41%, 39%)
HSVhsv(271, 58%, 55%)
CMYKcmyk(27.7%, 58.2%, 0%, 44.7%)
CIE-LABlab(33.72, 35.46, -38.49)
CIE-LCHlch(33.72, 52.34, 312.65°)
OKLaboklab(44.37% 0.0784 -0.1085)
OKLCHoklch(44.37% 0.134 305.9)
XYZxyz(11.8502, 7.8759, 26.0901)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663B8D #628D3B
analogous
#3D3B8D #663B8D #8D3B8B
triadic
#663B8D #8D663B #3B8D66
tetradic
#663B8D #8D3D3B #628D3B #3B8B8D
square
#663B8D #8D3D3B #628D3B #3B8B8D
split-complementary
#663B8D #8B8D3B #3B8D3D
monochromatic
#281737 #472962 #663B8D #8550B6 #A37BC8

Accessibility & contrast

On white

8.15
#663B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#663B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663B8D
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663B8D#FFFFFF#000000##FFFFFF
##663B8D1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4E90
Deuteranopia (green-blind)
#2D508B
Tritanopia (blue-blind)
#604B5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #663b8d;
/* rgb */ color: rgb(102, 59, 141);
/* oklch */ color: oklch(44.4% 0.134 305.9);
Tailwind
colors: {
  custom: {
    50: '#9473af',
    500: '#663b8d',
    950: '#000000',
  },
}
SCSS
$custom: #663b8d;
$custom-light: #9473af;
$custom-dark: #000000;
JSON
{
  "hex": "#663b8d",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 141
  },
  "hsl": {
    "h": 271.463,
    "s": 41,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44366,
    "c": 0.13386,
    "h": 305.9
  },
  "luminance": 0.07876
}

Semantic roles & 50–950 ramp

primary
#663B8D
secondary
#90B173
accent
#D15791
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #663B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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