#66176A#66176A

#66176A is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.5% C 0.149 H 325.9°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#66176A
RGBrgb(102, 23, 106)
HSLhsl(297, 64%, 25%)
HSVhsv(297, 78%, 42%)
CMYKcmyk(3.8%, 78.3%, 0%, 58.4%)
CIE-LABlab(25.19, 45.04, -30.05)
CIE-LCHlch(25.19, 54.15, 326.29°)
OKLaboklab(37.48% 0.1235 -0.0836)
OKLCHoklch(37.48% 0.149 325.9)
XYZxyz(8.3872, 4.4787, 14.0556)
Luminance0.0448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66176A #1B6A17
analogous
#3C176A #66176A #6A1745
triadic
#66176A #6A6617 #176A66
tetradic
#66176A #6A3C17 #1B6A17 #17456A
square
#66176A #6A3C17 #1B6A17 #17456A
split-complementary
#66176A #456A17 #176A3C
monochromatic
#180519 #360C38 #66176A #96229C #C72DCF

Accessibility & contrast

On white

11.08
#66176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#66176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66176A
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66176A#FFFFFF#000000##FFFFFF
##66176A1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #66176a;
/* rgb */ color: rgb(102, 23, 106);
/* oklch */ color: oklch(37.5% 0.149 325.9);
Tailwind
colors: {
  custom: {
    50: '#955e95',
    500: '#66176a',
    950: '#000000',
  },
}
SCSS
$custom: #66176a;
$custom-light: #955e95;
$custom-dark: #000000;
JSON
{
  "hex": "#66176a",
  "rgb": {
    "r": 102,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 297.108,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.37479,
    "c": 0.14915,
    "h": 325.9
  },
  "luminance": 0.04478
}

Semantic roles & 50–950 ramp

primary
#66176A
secondary
#41A03D
accent
#E74049
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #66176A

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

Preview Lab → · Contrast checker → · Palette generator →

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