#663C8A#663C8A

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

Color values

HEX#663C8A
RGBrgb(102, 60, 138)
HSLhsl(272, 39%, 39%)
HSVhsv(272, 57%, 54%)
CMYKcmyk(26.1%, 56.5%, 0%, 45.9%)
CIE-LABlab(33.76, 34.13, -36.60)
CIE-LCHlch(33.76, 50.04, 313.00°)
OKLaboklab(44.33% 0.0769 -0.1029)
OKLCHoklch(44.33% 0.128 306.8)
XYZxyz(11.6818, 7.8916, 24.9476)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663C8A #608A3C
analogous
#3F3C8A #663C8A #8A3C87
triadic
#663C8A #8A663C #3C8A66
tetradic
#663C8A #8A3F3C #608A3C #3C878A
square
#663C8A #8A3F3C #608A3C #3C878A
split-complementary
#663C8A #878A3C #3C8A3F
monochromatic
#271735 #46295F #663C8A #8550B3 #A37BC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##663C8A#FFFFFF#000000##FFFFFF
##663C8A1.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)
#224E8D
Deuteranopia (green-blind)
#305088
Tritanopia (blue-blind)
#604A5D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #663c8a;
/* rgb */ color: rgb(102, 60, 138);
/* oklch */ color: oklch(44.3% 0.128 306.8);
Tailwind
colors: {
  custom: {
    50: '#9473ac',
    500: '#663c8a',
    950: '#000000',
  },
}
SCSS
$custom: #663c8a;
$custom-light: #9473ac;
$custom-dark: #000000;
JSON
{
  "hex": "#663c8a",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 272.308,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4433,
    "c": 0.12849,
    "h": 306.8
  },
  "luminance": 0.07891
}

Semantic roles & 50–950 ramp

primary
#663C8A
secondary
#8FAF73
accent
#CF598F
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #663C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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