#661B7A#661B7A

#661B7A is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.159 H 318.1°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#661B7A
RGBrgb(102, 27, 122)
HSLhsl(287, 64%, 29%)
HSVhsv(287, 78%, 48%)
CMYKcmyk(16.4%, 77.9%, 0%, 52.2%)
CIE-LABlab(26.78, 46.72, -37.78)
CIE-LCHlch(26.78, 60.08, 321.04°)
OKLaboklab(38.95% 0.1183 -0.1062)
OKLCHoklch(38.95% 0.159 318.1)
XYZxyz(9.3838, 5.0142, 18.8821)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B7A #2F7A1B
analogous
#371B7A #661B7A #7A1B5F
triadic
#661B7A #7A661B #1B7A66
tetradic
#661B7A #7A371B #2F7A1B #1B5F7A
square
#661B7A #7A371B #2F7A1B #1B5F7A
split-complementary
#661B7A #5F7A1B #1B7A37
monochromatic
#150619 #3C1048 #661B7A #9026AC #B43CD4

Accessibility & contrast

On white

10.49
#661B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661B7A
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B7A#FFFFFF#000000##FFFFFF
##661B7A1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#1F4278
Tritanopia (blue-blind)
#652F49
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #661b7a;
/* rgb */ color: rgb(102, 27, 122);
/* oklch */ color: oklch(38.9% 0.159 318.1);
Tailwind
colors: {
  custom: {
    50: '#9560a1',
    500: '#661b7a',
    950: '#000000',
  },
}
SCSS
$custom: #661b7a;
$custom-light: #9560a1;
$custom-dark: #000000;
JSON
{
  "hex": "#661b7a",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 122
  },
  "hsl": {
    "h": 287.368,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38946,
    "c": 0.15897,
    "h": 318.1
  },
  "luminance": 0.05014
}

Semantic roles & 50–950 ramp

primary
#661B7A
secondary
#59AE43
accent
#E74164
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #661B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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