#66166A#66166A

#66166A is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.4% C 0.150 H 325.9°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#66166A
RGBrgb(102, 22, 106)
HSLhsl(297, 66%, 25%)
HSVhsv(297, 79%, 42%)
CMYKcmyk(3.8%, 79.2%, 0%, 58.4%)
CIE-LABlab(25.08, 45.38, -30.24)
CIE-LCHlch(25.08, 54.54, 326.32°)
OKLaboklab(37.39% 0.1245 -0.0841)
OKLCHoklch(37.39% 0.15 325.9)
XYZxyz(8.3677, 4.4398, 14.0491)
Luminance0.0444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66166A #1A6A16
analogous
#3C166A #66166A #6A1644
triadic
#66166A #6A6616 #166A66
tetradic
#66166A #6A3C16 #1A6A16 #16446A
square
#66166A #6A3C16 #1A6A16 #16446A
split-complementary
#66166A #446A16 #166A3C
monochromatic
#180519 #350B37 #66166A #97219D #C82BCF

Accessibility & contrast

On white

11.12
#66166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#66166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66166A
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66166A#FFFFFF#000000##FFFFFF
##66166A1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#2A3F68
Tritanopia (blue-blind)
#69253F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #66166a;
/* rgb */ color: rgb(102, 22, 106);
/* oklch */ color: oklch(37.4% 0.150 325.9);
Tailwind
colors: {
  custom: {
    50: '#955d95',
    500: '#66166a',
    950: '#000000',
  },
}
SCSS
$custom: #66166a;
$custom-light: #955d95;
$custom-dark: #000000;
JSON
{
  "hex": "#66166a",
  "rgb": {
    "r": 102,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 297.143,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.37394,
    "c": 0.15025,
    "h": 325.9
  },
  "luminance": 0.04439
}

Semantic roles & 50–950 ramp

primary
#66166A
secondary
#40A03B
accent
#E93F47
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #66166A

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

Preview Lab → · Contrast checker → · Palette generator →

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