#663D82#663D82

#663D82 is a dark, moderate violet. Relative luminance 0.078; OKLCH L 44.0% C 0.117 H 309.9°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#663D82
RGBrgb(102, 61, 130)
HSLhsl(276, 36%, 37%)
HSVhsv(276, 53%, 51%)
CMYKcmyk(21.5%, 53.1%, 0%, 49%)
CIE-LABlab(33.51, 31.56, -32.05)
CIE-LCHlch(33.51, 44.98, 314.56°)
OKLaboklab(43.99% 0.0749 -0.0897)
OKLCHoklch(43.99% 0.117 309.9)
XYZxyz(11.1767, 7.7742, 22.0265)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663D82 #59823D
analogous
#433D82 #663D82 #823D7C
triadic
#663D82 #82663D #3D8266
tetradic
#663D82 #82433D #59823D #3D7C82
square
#663D82 #82433D #59823D #3D7C82
split-complementary
#663D82 #7C823D #3D8243
monochromatic
#25162F #452958 #663D82 #8751AC #A379C0

Accessibility & contrast

On white

8.22
#663D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#663D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663D82
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663D82#FFFFFF#000000##FFFFFF
##663D821.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4D84
Deuteranopia (green-blind)
#374F80
Tritanopia (blue-blind)
#624959
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #663d82;
/* rgb */ color: rgb(102, 61, 130);
/* oklch */ color: oklch(44.0% 0.117 309.9);
Tailwind
colors: {
  custom: {
    50: '#9374a7',
    500: '#663d82',
    950: '#000000',
  },
}
SCSS
$custom: #663d82;
$custom-light: #9374a7;
$custom-dark: #000000;
JSON
{
  "hex": "#663d82",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 130
  },
  "hsl": {
    "h": 275.652,
    "s": 36.126,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43994,
    "c": 0.1168,
    "h": 309.9
  },
  "luminance": 0.07774
}

Semantic roles & 50–950 ramp

primary
#663D82
secondary
#88AA71
accent
#CC5C89
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #663D82

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

Preview Lab → · Contrast checker → · Palette generator →

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