#66166F#66166F

#66166F is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.7% C 0.155 H 323.5°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#66166F
RGBrgb(102, 22, 111)
HSLhsl(294, 67%, 26%)
HSVhsv(294, 80%, 44%)
CMYKcmyk(8.1%, 80.2%, 0%, 56.5%)
CIE-LABlab(25.40, 46.32, -32.95)
CIE-LCHlch(25.40, 56.84, 324.57°)
OKLaboklab(37.73% 0.1242 -0.092)
OKLCHoklch(37.73% 0.155 323.5)
XYZxyz(8.6354, 4.5468, 15.4586)
Luminance0.0455 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66166F #1F6F16
analogous
#39166F #66166F #6F164B
triadic
#66166F #6F6616 #166F66
tetradic
#66166F #6F3916 #1F6F16 #164B6F
square
#66166F #6F3916 #1F6F16 #164B6F
split-complementary
#66166F #4B6F16 #166F39
monochromatic
#17051A #370C3C #66166F #9520A2 #C42BD5

Accessibility & contrast

On white

11.00
#66166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#66166F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66166F
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66166F#FFFFFF#000000##FFFFFF
##66166F1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#263F6D
Tritanopia (blue-blind)
#682742
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #66166f;
/* rgb */ color: rgb(102, 22, 111);
/* oklch */ color: oklch(37.7% 0.155 323.5);
Tailwind
colors: {
  custom: {
    50: '#955e99',
    500: '#66166f',
    950: '#000000',
  },
}
SCSS
$custom: #66166f;
$custom-light: #955e99;
$custom-dark: #000000;
JSON
{
  "hex": "#66166f",
  "rgb": {
    "r": 102,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 293.933,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.37732,
    "c": 0.15455,
    "h": 323.5
  },
  "luminance": 0.04546
}

Semantic roles & 50–950 ramp

primary
#66166F
secondary
#46A53C
accent
#EA3E4F
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #66166F

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

Preview Lab → · Contrast checker → · Palette generator →

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