#661E89#661E89

#661E89 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.170 H 311.7°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#661E89
RGBrgb(102, 30, 137)
HSLhsl(280, 64%, 33%)
HSVhsv(280, 78%, 54%)
CMYKcmyk(25.5%, 78.1%, 0%, 46.3%)
CIE-LABlab(28.27, 48.76, -44.79)
CIE-LCHlch(28.27, 66.21, 317.43°)
OKLaboklab(40.35% 0.113 -0.1268)
OKLCHoklch(40.35% 0.17 311.7)
XYZxyz(10.4583, 5.5598, 24.1843)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E89 #41891E
analogous
#311E89 #661E89 #891E76
triadic
#661E89 #89661E #1E8966
tetradic
#661E89 #89311E #41891E #1E7689
square
#661E89 #89311E #41891E #1E7689
split-complementary
#661E89 #76891E #1E8931
monochromatic
#1B0825 #411357 #661E89 #8B29BB #A94AD7

Accessibility & contrast

On white

9.94
#661E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#661E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661E89
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E89#FFFFFF#000000##FFFFFF
##661E891.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#0A4487
Tritanopia (blue-blind)
#623753
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #661e89;
/* rgb */ color: rgb(102, 30, 137);
/* oklch */ color: oklch(40.4% 0.170 311.7);
Tailwind
colors: {
  custom: {
    50: '#9662ac',
    500: '#661e89',
    950: '#000000',
  },
}
SCSS
$custom: #661e89;
$custom-light: #9662ac;
$custom-dark: #000000;
JSON
{
  "hex": "#661e89",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 280.374,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40354,
    "c": 0.16986,
    "h": 311.7
  },
  "luminance": 0.05559
}

Semantic roles & 50–950 ramp

primary
#661E89
secondary
#6EBA49
accent
#E74177
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #661E89

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

Preview Lab → · Contrast checker → · Palette generator →

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