#661E77#661E77

#661E77 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.0% C 0.153 H 319.2°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#661E77
RGBrgb(102, 30, 119)
HSLhsl(289, 60%, 29%)
HSVhsv(289, 75%, 47%)
CMYKcmyk(14.3%, 74.8%, 0%, 53.3%)
CIE-LABlab(26.98, 44.93, -35.55)
CIE-LCHlch(26.98, 57.29, 321.65°)
OKLaboklab(39.02% 0.1155 -0.0997)
OKLCHoklch(39.02% 0.153 319.2)
XYZxyz(9.2731, 5.0857, 17.9424)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E77 #2F771E
analogous
#3A1E77 #661E77 #771E5C
triadic
#661E77 #77661E #1E7766
tetradic
#661E77 #773A1E #2F771E #1E5C77
square
#661E77 #773A1E #2F771E #1E5C77
split-complementary
#661E77 #5C771E #1E773A
monochromatic
#150618 #3C1246 #661E77 #902AA8 #B440CF

Accessibility & contrast

On white

10.41
#661E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#661E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661E77
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E77#FFFFFF#000000##FFFFFF
##661E771.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7A
Deuteranopia (green-blind)
#244275
Tritanopia (blue-blind)
#662F48
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661e77;
/* rgb */ color: rgb(102, 30, 119);
/* oklch */ color: oklch(39.0% 0.153 319.2);
Tailwind
colors: {
  custom: {
    50: '#95619f',
    500: '#661e77',
    950: '#000000',
  },
}
SCSS
$custom: #661e77;
$custom-light: #95619f;
$custom-dark: #000000;
JSON
{
  "hex": "#661e77",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 288.539,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39024,
    "c": 0.1526,
    "h": 319.2
  },
  "luminance": 0.05085
}

Semantic roles & 50–950 ramp

primary
#661E77
secondary
#59AB46
accent
#E34563
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #661E77

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

Preview Lab → · Contrast checker → · Palette generator →

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