#661777#661777

#661777 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.161 H 319.7°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#661777
RGBrgb(102, 23, 119)
HSLhsl(289, 68%, 28%)
HSVhsv(289, 81%, 47%)
CMYKcmyk(14.3%, 80.7%, 0%, 53.3%)
CIE-LABlab(26.07, 47.53, -37.01)
CIE-LCHlch(26.07, 60.24, 322.10°)
OKLaboklab(38.38% 0.1224 -0.1039)
OKLCHoklch(38.38% 0.161 319.7)
XYZxyz(9.1152, 4.7699, 17.8897)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661777 #287717
analogous
#361777 #661777 #771758
triadic
#661777 #776617 #177766
tetradic
#661777 #773617 #287717 #175877
square
#661777 #773617 #287717 #175877
split-complementary
#661777 #587717 #177736
monochromatic
#16051A #3A0D44 #661777 #9221AA #BA31D7

Accessibility & contrast

On white

10.75
#661777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661777
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661777#FFFFFF#000000##FFFFFF
##6617771.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397A
Deuteranopia (green-blind)
#204075
Tritanopia (blue-blind)
#662C47
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #661777;
/* rgb */ color: rgb(102, 23, 119);
/* oklch */ color: oklch(38.4% 0.161 319.7);
Tailwind
colors: {
  custom: {
    50: '#955f9f',
    500: '#661777',
    950: '#000000',
  },
}
SCSS
$custom: #661777;
$custom-light: #955f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#661777",
  "rgb": {
    "r": 102,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 289.375,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38379,
    "c": 0.16056,
    "h": 319.7
  },
  "luminance": 0.04769
}

Semantic roles & 50–950 ramp

primary
#661777
secondary
#51AC3E
accent
#EA3D5C
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661777

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

Preview Lab → · Contrast checker → · Palette generator →

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