#661B77#661B77

#661B77 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.156 H 319.4°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#661B77
RGBrgb(102, 27, 119)
HSLhsl(289, 63%, 29%)
HSVhsv(289, 77%, 47%)
CMYKcmyk(14.3%, 77.3%, 0%, 53.3%)
CIE-LABlab(26.57, 46.10, -36.21)
CIE-LCHlch(26.57, 58.62, 321.85°)
OKLaboklab(38.73% 0.1186 -0.1016)
OKLCHoklch(38.73% 0.156 319.4)
XYZxyz(9.2008, 4.9410, 17.9183)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B77 #2C771B
analogous
#381B77 #661B77 #771B5A
triadic
#661B77 #77661B #1B7766
tetradic
#661B77 #77381B #2C771B #1B5A77
square
#661B77 #77381B #2C771B #1B5A77
split-complementary
#661B77 #5A771B #1B7738
monochromatic
#150619 #3B1045 #661B77 #9126A9 #B63AD2

Accessibility & contrast

On white

10.56
#661B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#661B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B77
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B77#FFFFFF#000000##FFFFFF
##661B771.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661b77;
/* rgb */ color: rgb(102, 27, 119);
/* oklch */ color: oklch(38.7% 0.156 319.4);
Tailwind
colors: {
  custom: {
    50: '#95609f',
    500: '#661b77',
    950: '#000000',
  },
}
SCSS
$custom: #661b77;
$custom-light: #95609f;
$custom-dark: #000000;
JSON
{
  "hex": "#661b77",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 119
  },
  "hsl": {
    "h": 288.913,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38731,
    "c": 0.1562,
    "h": 319.4
  },
  "luminance": 0.04941
}

Semantic roles & 50–950 ramp

primary
#661B77
secondary
#56AB42
accent
#E64260
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661B77

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

Preview Lab → · Contrast checker → · Palette generator →

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