#661166#661166

#661166 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.7% C 0.152 H 328.1°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#661166
RGBrgb(102, 17, 102)
HSLhsl(300, 71%, 23%)
HSVhsv(300, 83%, 40%)
CMYKcmyk(0%, 83.3%, 0%, 60%)
CIE-LABlab(24.28, 46.23, -28.92)
CIE-LCHlch(24.28, 54.53, 327.98°)
OKLaboklab(36.74% 0.1291 -0.0802)
OKLCHoklch(36.74% 0.152 328.1)
XYZxyz(8.0781, 4.1856, 12.9502)
Luminance0.0418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661166 #116611
analogous
#3B1166 #661166 #66113B
triadic
#661166 #666611 #116666
tetradic
#661166 #663B11 #116611 #113B66
square
#661166 #663B11 #116611 #113B66
split-complementary
#661166 #3B6611 #11663B
monochromatic
#1A041A #320832 #661166 #9A1A9A #CF22CF

Accessibility & contrast

On white

11.43
#661166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#661166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661166
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661166#FFFFFF#000000##FFFFFF
##6611661.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003368
Deuteranopia (green-blind)
#2A3D64
Tritanopia (blue-blind)
#69203C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #661166;
/* rgb */ color: rgb(102, 17, 102);
/* oklch */ color: oklch(36.7% 0.152 328.1);
Tailwind
colors: {
  custom: {
    50: '#955b92',
    500: '#661166',
    950: '#000000',
  },
}
SCSS
$custom: #661166;
$custom-light: #955b92;
$custom-dark: #000000;
JSON
{
  "hex": "#661166",
  "rgb": {
    "r": 102,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 300,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.36743,
    "c": 0.15197,
    "h": 328.1
  },
  "luminance": 0.04185
}

Semantic roles & 50–950 ramp

primary
#661166
secondary
#359E35
accent
#EE3A3A
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0E040D
muted
#7E797E

Preview Lab

Preview with #661166

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

Preview Lab → · Contrast checker → · Palette generator →

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