#663D86#663D86

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

Color values

HEX#663D86
RGBrgb(102, 61, 134)
HSLhsl(274, 37%, 38%)
HSVhsv(274, 54%, 53%)
CMYKcmyk(23.9%, 54.5%, 0%, 47.5%)
CIE-LABlab(33.74, 32.55, -34.16)
CIE-LCHlch(33.74, 47.18, 313.62°)
OKLaboklab(44.24% 0.0752 -0.0958)
OKLCHoklch(44.24% 0.122 308.1)
XYZxyz(11.4505, 7.8836, 23.4681)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663D86 #5D863D
analogous
#413D86 #663D86 #863D81
triadic
#663D86 #86663D #3D8666
tetradic
#663D86 #86413D #5D863D #3D8186
square
#663D86 #86413D #5D863D #3D8186
split-complementary
#663D86 #81863D #3D8641
monochromatic
#261732 #462A5C #663D86 #8651B0 #A37BC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##663D86#FFFFFF#000000##FFFFFF
##663D861.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)
#274E88
Deuteranopia (green-blind)
#345084
Tritanopia (blue-blind)
#614A5B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #663d86;
/* rgb */ color: rgb(102, 61, 134);
/* oklch */ color: oklch(44.2% 0.122 308.1);
Tailwind
colors: {
  custom: {
    50: '#9474a9',
    500: '#663d86',
    950: '#000000',
  },
}
SCSS
$custom: #663d86;
$custom-light: #9474a9;
$custom-dark: #000000;
JSON
{
  "hex": "#663d86",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 134
  },
  "hsl": {
    "h": 273.699,
    "s": 37.436,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44241,
    "c": 0.12181,
    "h": 308.1
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#663D86
secondary
#8CAD72
accent
#CD5A8D
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #663D86

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

Preview Lab → · Contrast checker → · Palette generator →

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