#663B82#663B82

#663B82 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.7% C 0.120 H 310.3°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#663B82
RGBrgb(102, 59, 130)
HSLhsl(276, 38%, 37%)
HSVhsv(276, 55%, 51%)
CMYKcmyk(21.5%, 54.6%, 0%, 49%)
CIE-LABlab(33.06, 32.73, -32.76)
CIE-LCHlch(33.06, 46.31, 314.97°)
OKLaboklab(43.66% 0.0778 -0.0917)
OKLCHoklch(43.66% 0.12 310.3)
XYZxyz(11.0720, 7.5646, 21.9916)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663B82 #57823B
analogous
#433B82 #663B82 #823B7B
triadic
#663B82 #82663B #3B8266
tetradic
#663B82 #82433B #57823B #3B7B82
square
#663B82 #82433B #57823B #3B7B82
split-complementary
#663B82 #7B823B #3B8243
monochromatic
#24152E #452858 #663B82 #874EAC #A476C1

Accessibility & contrast

On white

8.36
#663B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#663B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663B82
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663B82#FFFFFF#000000##FFFFFF
##663B821.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274C84
Deuteranopia (green-blind)
#354F80
Tritanopia (blue-blind)
#634758
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #663b82;
/* rgb */ color: rgb(102, 59, 130);
/* oklch */ color: oklch(43.7% 0.120 310.3);
Tailwind
colors: {
  custom: {
    50: '#9473a7',
    500: '#663b82',
    950: '#000000',
  },
}
SCSS
$custom: #663b82;
$custom-light: #9473a7;
$custom-dark: #000000;
JSON
{
  "hex": "#663b82",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 130
  },
  "hsl": {
    "h": 276.338,
    "s": 37.566,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43663,
    "c": 0.12027,
    "h": 310.3
  },
  "luminance": 0.07564
}

Semantic roles & 50–950 ramp

primary
#663B82
secondary
#86AB6E
accent
#CE5A88
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #663B82

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

Preview Lab → · Contrast checker → · Palette generator →

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