#663166#663166

#663166 is a dark, moderate purple. Relative luminance 0.060; OKLCH L 40.4% C 0.106 H 327.3°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#663166
RGBrgb(102, 49, 102)
HSLhsl(300, 35%, 30%)
HSVhsv(300, 52%, 40%)
CMYKcmyk(0%, 52%, 0%, 60%)
CIE-LABlab(29.36, 32.15, -20.89)
CIE-LCHlch(29.36, 38.35, 326.99°)
OKLaboklab(40.44% 0.0893 -0.0573)
OKLCHoklch(40.44% 0.106 327.3)
XYZxyz(8.9759, 5.9812, 13.2495)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663166 #316631
analogous
#4C3166 #663166 #66314C
triadic
#663166 #666631 #316666
tetradic
#663166 #664C31 #316631 #314C66
square
#663166 #664C31 #316631 #314C66
split-complementary
#663166 #4C6631 #31664C
monochromatic
#150A15 #3D1D3D #663166 #8F458F #B25FB2

Accessibility & contrast

On white

9.56
#663166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#663166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663166
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663166#FFFFFF#000000##FFFFFF
##6631661.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4168
Deuteranopia (green-blind)
#3C4864
Tritanopia (blue-blind)
#693747
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #663166;
/* rgb */ color: rgb(102, 49, 102);
/* oklch */ color: oklch(40.4% 0.106 327.3);
Tailwind
colors: {
  custom: {
    50: '#936b92',
    500: '#663166',
    950: '#000000',
  },
}
SCSS
$custom: #663166;
$custom-light: #936b92;
$custom-dark: #000000;
JSON
{
  "hex": "#663166",
  "rgb": {
    "r": 102,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 300,
    "s": 35.099,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40437,
    "c": 0.10614,
    "h": 327.3
  },
  "luminance": 0.05981
}

Semantic roles & 50–950 ramp

primary
#663166
secondary
#5C975C
accent
#CB5D5D
background
#F9F6F8
surface
#F1EBF0
border
#CBC6CB
text
#0D070D
muted
#7E7A7D

Preview Lab

Preview with #663166

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

Preview Lab → · Contrast checker → · Palette generator →

#663166 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva