#661677#661677

#661677 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.3% C 0.162 H 319.7°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#661677
RGBrgb(102, 22, 119)
HSLhsl(289, 69%, 28%)
HSVhsv(289, 82%, 47%)
CMYKcmyk(14.3%, 81.5%, 0%, 53.3%)
CIE-LABlab(25.95, 47.86, -37.19)
CIE-LCHlch(25.95, 60.62, 322.15°)
OKLaboklab(38.3% 0.1233 -0.1044)
OKLCHoklch(38.3% 0.162 319.7)
XYZxyz(9.0957, 4.7310, 17.8833)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661677 #277716
analogous
#361677 #661677 #771657
triadic
#661677 #776616 #167766
tetradic
#661677 #773616 #277716 #165777
square
#661677 #773616 #277716 #165777
split-complementary
#661677 #577716 #167736
monochromatic
#16051A #3A0C43 #661677 #9220AB #BB2FD9

Accessibility & contrast

On white

10.79
#661677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#661677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661677
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661677#FFFFFF#000000##FFFFFF
##6616771.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387A
Deuteranopia (green-blind)
#1F4075
Tritanopia (blue-blind)
#662B47
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #661677;
/* rgb */ color: rgb(102, 22, 119);
/* oklch */ color: oklch(38.3% 0.162 319.7);
Tailwind
colors: {
  custom: {
    50: '#955e9f',
    500: '#661677',
    950: '#000000',
  },
}
SCSS
$custom: #661677;
$custom-light: #955e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#661677",
  "rgb": {
    "r": 102,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 289.485,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38298,
    "c": 0.16156,
    "h": 319.7
  },
  "luminance": 0.04731
}

Semantic roles & 50–950 ramp

primary
#661677
secondary
#50AC3C
accent
#EC3C5B
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661677

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

Preview Lab → · Contrast checker → · Palette generator →

#661677 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva