#66177D#66177D

#66177D is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.166 H 317.1°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#66177D
RGBrgb(102, 23, 125)
HSLhsl(286, 69%, 29%)
HSVhsv(286, 82%, 49%)
CMYKcmyk(18.4%, 81.6%, 0%, 51%)
CIE-LABlab(26.50, 48.74, -40.12)
CIE-LCHlch(26.50, 63.13, 320.54°)
OKLaboklab(38.82% 0.1215 -0.113)
OKLCHoklch(38.82% 0.166 317.1)
XYZxyz(9.4870, 4.9187, 19.8477)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66177D #2E7D17
analogous
#33177D #66177D #7D1761
triadic
#66177D #7D6617 #177D66
tetradic
#66177D #7D3317 #2E7D17 #17617D
square
#66177D #7D3317 #2E7D17 #17617D
split-complementary
#66177D #617D17 #177D33
monochromatic
#15051A #3C0D49 #66177D #9021B1 #B535DA

Accessibility & contrast

On white

10.59
#66177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#66177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66177D
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66177D#FFFFFF#000000##FFFFFF
##66177D1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#19417B
Tritanopia (blue-blind)
#652E4A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #66177d;
/* rgb */ color: rgb(102, 23, 125);
/* oklch */ color: oklch(38.8% 0.166 317.1);
Tailwind
colors: {
  custom: {
    50: '#955fa3',
    500: '#66177d',
    950: '#000000',
  },
}
SCSS
$custom: #66177d;
$custom-light: #955fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#66177d",
  "rgb": {
    "r": 102,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 286.471,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38822,
    "c": 0.16594,
    "h": 317.1
  },
  "luminance": 0.04918
}

Semantic roles & 50–950 ramp

primary
#66177D
secondary
#58B23E
accent
#EC3C64
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #66177D

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

Preview Lab → · Contrast checker → · Palette generator →

#66177D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva