#661D89#661D89

#661D89 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.171 H 311.8°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#661D89
RGBrgb(102, 29, 137)
HSLhsl(281, 65%, 33%)
HSVhsv(281, 79%, 54%)
CMYKcmyk(25.5%, 78.8%, 0%, 46.3%)
CIE-LABlab(28.14, 49.14, -45.00)
CIE-LCHlch(28.14, 66.64, 317.52°)
OKLaboklab(40.26% 0.114 -0.1274)
OKLCHoklch(40.26% 0.171 311.8)
XYZxyz(10.4334, 5.5099, 24.1760)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661D89 #40891D
analogous
#301D89 #661D89 #891D76
triadic
#661D89 #89661D #1D8966
tetradic
#661D89 #89301D #40891D #1D7689
square
#661D89 #89301D #40891D #1D7689
split-complementary
#661D89 #76891D #1D8930
monochromatic
#1B0824 #401256 #661D89 #8C28BC #AA48D8

Accessibility & contrast

On white

9.99
#661D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#661D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661D89
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661D89#FFFFFF#000000##FFFFFF
##661D891.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#084487
Tritanopia (blue-blind)
#623752
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #661d89;
/* rgb */ color: rgb(102, 29, 137);
/* oklch */ color: oklch(40.3% 0.171 311.8);
Tailwind
colors: {
  custom: {
    50: '#9662ac',
    500: '#661d89',
    950: '#000000',
  },
}
SCSS
$custom: #661d89;
$custom-light: #9662ac;
$custom-dark: #000000;
JSON
{
  "hex": "#661d89",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 280.556,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40261,
    "c": 0.17095,
    "h": 311.8
  },
  "luminance": 0.0551
}

Semantic roles & 50–950 ramp

primary
#661D89
secondary
#6DBA47
accent
#E84076
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661D89

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

Preview Lab → · Contrast checker → · Palette generator →

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