#661F89#661F89

#661F89 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.169 H 311.6°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#661F89
RGBrgb(102, 31, 137)
HSLhsl(280, 63%, 33%)
HSVhsv(280, 77%, 54%)
CMYKcmyk(25.5%, 77.4%, 0%, 46.3%)
CIE-LABlab(28.41, 48.37, -44.57)
CIE-LCHlch(28.41, 65.77, 317.34°)
OKLaboklab(40.45% 0.1121 -0.1262)
OKLCHoklch(40.45% 0.169 311.6)
XYZxyz(10.4840, 5.6112, 24.1928)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661F89 #42891F
analogous
#311F89 #661F89 #891F77
triadic
#661F89 #89661F #1F8966
tetradic
#661F89 #89311F #42891F #1F7789
square
#661F89 #89311F #42891F #1F7789
split-complementary
#661F89 #77891F #1F8931
monochromatic
#1C0825 #411457 #661F89 #8B2ABB #A94CD6

Accessibility & contrast

On white

9.90
#661F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#661F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661F89
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661F89#FFFFFF#000000##FFFFFF
##661F891.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#0C4487
Tritanopia (blue-blind)
#623853
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #661f89;
/* rgb */ color: rgb(102, 31, 137);
/* oklch */ color: oklch(40.5% 0.169 311.6);
Tailwind
colors: {
  custom: {
    50: '#9663ac',
    500: '#661f89',
    950: '#000000',
  },
}
SCSS
$custom: #661f89;
$custom-light: #9663ac;
$custom-dark: #000000;
JSON
{
  "hex": "#661f89",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 280.189,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4045,
    "c": 0.16876,
    "h": 311.6
  },
  "luminance": 0.05611
}

Semantic roles & 50–950 ramp

primary
#661F89
secondary
#6FB94B
accent
#E64278
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #661F89

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

Preview Lab → · Contrast checker → · Palette generator →

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