#66176F#66176F

#66176F is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.8% C 0.153 H 323.4°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#66176F
RGBrgb(102, 23, 111)
HSLhsl(294, 66%, 26%)
HSVhsv(294, 79%, 44%)
CMYKcmyk(8.1%, 79.3%, 0%, 56.5%)
CIE-LABlab(25.52, 45.98, -32.76)
CIE-LCHlch(25.52, 56.46, 324.53°)
OKLaboklab(37.82% 0.1232 -0.0915)
OKLCHoklch(37.82% 0.153 323.4)
XYZxyz(8.6549, 4.5858, 15.4651)
Luminance0.0459 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66176F #206F17
analogous
#3A176F #66176F #6F174C
triadic
#66176F #6F6617 #176F66
tetradic
#66176F #6F3A17 #206F17 #174C6F
square
#66176F #6F3A17 #206F17 #174C6F
split-complementary
#66176F #4C6F17 #176F3A
monochromatic
#170519 #370C3C #66176F #9522A2 #C22DD3

Accessibility & contrast

On white

10.95
#66176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#66176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66176F
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66176F#FFFFFF#000000##FFFFFF
##66176F1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#27406D
Tritanopia (blue-blind)
#682842
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #66176f;
/* rgb */ color: rgb(102, 23, 111);
/* oklch */ color: oklch(37.8% 0.153 323.4);
Tailwind
colors: {
  custom: {
    50: '#955e99',
    500: '#66176f',
    950: '#000000',
  },
}
SCSS
$custom: #66176f;
$custom-light: #955e99;
$custom-dark: #000000;
JSON
{
  "hex": "#66176f",
  "rgb": {
    "r": 102,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 293.864,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.37815,
    "c": 0.15349,
    "h": 323.4
  },
  "luminance": 0.04585
}

Semantic roles & 50–950 ramp

primary
#66176F
secondary
#48A53D
accent
#E93F51
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #66176F

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

Preview Lab → · Contrast checker → · Palette generator →

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