#661B89#661B89

#661B89 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.173 H 312.0°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#661B89
RGBrgb(102, 27, 137)
HSLhsl(281, 67%, 32%)
HSVhsv(281, 80%, 54%)
CMYKcmyk(25.5%, 80.3%, 0%, 46.3%)
CIE-LABlab(27.89, 49.88, -45.42)
CIE-LCHlch(27.89, 67.46, 317.68°)
OKLaboklab(40.08% 0.1157 -0.1286)
OKLCHoklch(40.08% 0.173 312)
XYZxyz(10.3859, 5.4151, 24.1602)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B89 #3E891B
analogous
#2F1B89 #661B89 #891B75
triadic
#661B89 #89661B #1B8966
tetradic
#661B89 #892F1B #3E891B #1B7589
square
#661B89 #892F1B #3E891B #1B7589
split-complementary
#661B89 #75891B #1B892F
monochromatic
#1A0723 #401156 #661B89 #8C25BC #AA44DA

Accessibility & contrast

On white

10.08
#661B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#661B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B89
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B89#FFFFFF#000000##FFFFFF
##661B891.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#044387
Tritanopia (blue-blind)
#623652
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #661b89;
/* rgb */ color: rgb(102, 27, 137);
/* oklch */ color: oklch(40.1% 0.173 312.0);
Tailwind
colors: {
  custom: {
    50: '#9661ac',
    500: '#661b89',
    950: '#000000',
  },
}
SCSS
$custom: #661b89;
$custom-light: #9661ac;
$custom-dark: #000000;
JSON
{
  "hex": "#661b89",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 280.909,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40081,
    "c": 0.17302,
    "h": 312
  },
  "luminance": 0.05415
}

Semantic roles & 50–950 ramp

primary
#661B89
secondary
#6ABC44
accent
#EA3E75
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661B89

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

Preview Lab → · Contrast checker → · Palette generator →

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