#66186C#66186C

#66186C is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.7% C 0.150 H 324.9°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#66186C
RGBrgb(102, 24, 108)
HSLhsl(296, 64%, 26%)
HSVhsv(296, 78%, 42%)
CMYKcmyk(5.6%, 77.8%, 0%, 57.6%)
CIE-LABlab(25.45, 45.06, -30.95)
CIE-LCHlch(25.45, 54.66, 325.52°)
OKLaboklab(37.7% 0.1225 -0.0862)
OKLCHoklch(37.7% 0.15 324.9)
XYZxyz(8.5127, 4.5613, 14.6165)
Luminance0.0456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66186C #1E6C18
analogous
#3C186C #66186C #6C1848
triadic
#66186C #6C6618 #186C66
tetradic
#66186C #6C3C18 #1E6C18 #18486C
square
#66186C #6C3C18 #1E6C18 #18486C
split-complementary
#66186C #486C18 #186C3C
monochromatic
#180619 #370D3A #66186C #95239E #C52ED0

Accessibility & contrast

On white

10.98
#66186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#66186C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66186C
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66186C#FFFFFF#000000##FFFFFF
##66186C1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #66186c;
/* rgb */ color: rgb(102, 24, 108);
/* oklch */ color: oklch(37.7% 0.150 324.9);
Tailwind
colors: {
  custom: {
    50: '#955e96',
    500: '#66186c',
    950: '#000000',
  },
}
SCSS
$custom: #66186c;
$custom-light: #955e96;
$custom-dark: #000000;
JSON
{
  "hex": "#66186c",
  "rgb": {
    "r": 102,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 295.714,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.377,
    "c": 0.14976,
    "h": 324.9
  },
  "luminance": 0.04561
}

Semantic roles & 50–950 ramp

primary
#66186C
secondary
#45A23E
accent
#E7414D
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #66186C

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

Preview Lab → · Contrast checker → · Palette generator →

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