#661A77#661A77

#661A77 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.6% C 0.157 H 319.5°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#661A77
RGBrgb(102, 26, 119)
HSLhsl(289, 64%, 28%)
HSVhsv(289, 78%, 47%)
CMYKcmyk(14.3%, 78.2%, 0%, 53.3%)
CIE-LABlab(26.44, 46.48, -36.42)
CIE-LCHlch(26.44, 59.05, 321.92°)
OKLaboklab(38.64% 0.1196 -0.1022)
OKLCHoklch(38.64% 0.157 319.5)
XYZxyz(9.1782, 4.8959, 17.9107)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A77 #2B771A
analogous
#371A77 #661A77 #771A59
triadic
#661A77 #77661A #1A7766
tetradic
#661A77 #77371A #2B771A #1A5977
square
#661A77 #77371A #2B771A #1A5977
split-complementary
#661A77 #59771A #1A7737
monochromatic
#160519 #3B0F45 #661A77 #9125A9 #B738D3

Accessibility & contrast

On white

10.61
#661A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#661A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A77
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A77#FFFFFF#000000##FFFFFF
##661A771.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661a77;
/* rgb */ color: rgb(102, 26, 119);
/* oklch */ color: oklch(38.6% 0.157 319.5);
Tailwind
colors: {
  custom: {
    50: '#95609f',
    500: '#661a77',
    950: '#000000',
  },
}
SCSS
$custom: #661a77;
$custom-light: #95609f;
$custom-dark: #000000;
JSON
{
  "hex": "#661a77",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 119
  },
  "hsl": {
    "h": 289.032,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38639,
    "c": 0.15733,
    "h": 319.5
  },
  "luminance": 0.04895
}

Semantic roles & 50–950 ramp

primary
#661A77
secondary
#55AC41
accent
#E7415F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661A77

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

Preview Lab → · Contrast checker → · Palette generator →

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