#663C8D#663C8D

#663C8D is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.5% C 0.132 H 305.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#663C8D
RGBrgb(102, 60, 141)
HSLhsl(271, 40%, 39%)
HSVhsv(271, 57%, 55%)
CMYKcmyk(27.7%, 57.4%, 0%, 44.7%)
CIE-LABlab(33.94, 34.89, -38.15)
CIE-LCHlch(33.94, 51.69, 312.44°)
OKLaboklab(44.53% 0.077 -0.1075)
OKLCHoklch(44.53% 0.132 305.6)
XYZxyz(11.9020, 7.9797, 26.1074)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663C8D #638D3C
analogous
#3D3C8D #663C8D #8D3C8C
triadic
#663C8D #8D663C #3C8D66
tetradic
#663C8D #8D3D3C #638D3C #3C8C8D
square
#663C8D #8D3D3C #638D3C #3C8C8D
split-complementary
#663C8D #8C8D3C #3C8D3D
monochromatic
#281737 #472A62 #663C8D #8551B5 #A37CC7

Accessibility & contrast

On white

8.09
#663C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#663C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663C8D
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663C8D#FFFFFF#000000##FFFFFF
##663C8D1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E90
Deuteranopia (green-blind)
#2E508B
Tritanopia (blue-blind)
#604B5E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #663c8d;
/* rgb */ color: rgb(102, 60, 141);
/* oklch */ color: oklch(44.5% 0.132 305.6);
Tailwind
colors: {
  custom: {
    50: '#9473af',
    500: '#663c8d',
    950: '#000000',
  },
}
SCSS
$custom: #663c8d;
$custom-light: #9473af;
$custom-dark: #000000;
JSON
{
  "hex": "#663c8d",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 271.111,
    "s": 40.299,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44525,
    "c": 0.13222,
    "h": 305.6
  },
  "luminance": 0.0798
}

Semantic roles & 50–950 ramp

primary
#663C8D
secondary
#91B174
accent
#D05892
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #663C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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