#661C77#661C77

#661C77 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.8% C 0.155 H 319.4°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#661C77
RGBrgb(102, 28, 119)
HSLhsl(289, 62%, 29%)
HSVhsv(289, 76%, 47%)
CMYKcmyk(14.3%, 76.5%, 0%, 53.3%)
CIE-LABlab(26.70, 45.72, -36.00)
CIE-LCHlch(26.70, 58.19, 321.79°)
OKLaboklab(38.83% 0.1176 -0.101)
OKLCHoklch(38.83% 0.155 319.4)
XYZxyz(9.2241, 4.9876, 17.9260)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C77 #2D771C
analogous
#391C77 #661C77 #771C5B
triadic
#661C77 #77661C #1C7766
tetradic
#661C77 #77391C #2D771C #1C5B77
square
#661C77 #77391C #2D771C #1C5B77
split-complementary
#661C77 #5B771C #1C7739
monochromatic
#150619 #3C1045 #661C77 #9028A9 #B53CD1

Accessibility & contrast

On white

10.51
#661C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#661C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661C77
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C77#FFFFFF#000000##FFFFFF
##661C771.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7A
Deuteranopia (green-blind)
#234275
Tritanopia (blue-blind)
#662E48
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #661c77;
/* rgb */ color: rgb(102, 28, 119);
/* oklch */ color: oklch(38.8% 0.155 319.4);
Tailwind
colors: {
  custom: {
    50: '#95619f',
    500: '#661c77',
    950: '#000000',
  },
}
SCSS
$custom: #661c77;
$custom-light: #95619f;
$custom-dark: #000000;
JSON
{
  "hex": "#661c77",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 119
  },
  "hsl": {
    "h": 288.791,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38826,
    "c": 0.15503,
    "h": 319.4
  },
  "luminance": 0.04987
}

Semantic roles & 50–950 ramp

primary
#661C77
secondary
#57AB44
accent
#E54361
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #661C77

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

Preview Lab → · Contrast checker → · Palette generator →

#661C77 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva