#66166C#66166C

#66166C is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.5% C 0.152 H 324.9°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#66166C
RGBrgb(102, 22, 108)
HSLhsl(296, 66%, 25%)
HSVhsv(296, 80%, 42%)
CMYKcmyk(5.6%, 79.6%, 0%, 57.6%)
CIE-LABlab(25.20, 45.75, -31.33)
CIE-LCHlch(25.20, 55.45, 325.60°)
OKLaboklab(37.53% 0.1244 -0.0873)
OKLCHoklch(37.53% 0.152 324.9)
XYZxyz(8.4730, 4.4819, 14.6033)
Luminance0.0448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66166C #1C6C16
analogous
#3B166C #66166C #6C1647
triadic
#66166C #6C6616 #166C66
tetradic
#66166C #6C3B16 #1C6C16 #16476C
square
#66166C #6C3B16 #1C6C16 #16476C
split-complementary
#66166C #476C16 #166C3B
monochromatic
#180519 #360C39 #66166C #96209F #C62BD2

Accessibility & contrast

On white

11.07
#66166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#66166C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66166C
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66166C#FFFFFF#000000##FFFFFF
##66166C1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366E
Deuteranopia (green-blind)
#283F6A
Tritanopia (blue-blind)
#682640
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #66166c;
/* rgb */ color: rgb(102, 22, 108);
/* oklch */ color: oklch(37.5% 0.152 324.9);
Tailwind
colors: {
  custom: {
    50: '#955e96',
    500: '#66166c',
    950: '#000000',
  },
}
SCSS
$custom: #66166c;
$custom-light: #955e96;
$custom-dark: #000000;
JSON
{
  "hex": "#66166c",
  "rgb": {
    "r": 102,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 295.814,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.37527,
    "c": 0.15197,
    "h": 324.9
  },
  "luminance": 0.04481
}

Semantic roles & 50–950 ramp

primary
#66166C
secondary
#43A23C
accent
#E93F4B
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #66166C

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

Preview Lab → · Contrast checker → · Palette generator →

#66166C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva