#661F86#661F86

#661F86 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.166 H 312.8°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#661F86
RGBrgb(102, 31, 134)
HSLhsl(281, 62%, 32%)
HSVhsv(281, 77%, 53%)
CMYKcmyk(23.9%, 76.9%, 0%, 47.5%)
CIE-LABlab(28.18, 47.71, -43.06)
CIE-LCHlch(28.18, 64.27, 317.93°)
OKLaboklab(40.22% 0.1126 -0.1217)
OKLCHoklch(40.22% 0.166 312.8)
XYZxyz(10.2718, 5.5263, 23.0752)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661F86 #3F861F
analogous
#321F86 #661F86 #861F73
triadic
#661F86 #86661F #1F8666
tetradic
#661F86 #86321F #3F861F #1F7386
square
#661F86 #86321F #3F861F #1F7386
split-complementary
#661F86 #73861F #1F8632
monochromatic
#1A0823 #401454 #661F86 #8C2AB8 #AA4AD5

Accessibility & contrast

On white

9.98
#661F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661F86
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661F86#FFFFFF#000000##FFFFFF
##661F861.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#124484
Tritanopia (blue-blind)
#623651
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #661f86;
/* rgb */ color: rgb(102, 31, 134);
/* oklch */ color: oklch(40.2% 0.166 312.8);
Tailwind
colors: {
  custom: {
    50: '#9563aa',
    500: '#661f86',
    950: '#000000',
  },
}
SCSS
$custom: #661f86;
$custom-light: #9563aa;
$custom-dark: #000000;
JSON
{
  "hex": "#661f86",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 281.359,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4022,
    "c": 0.16583,
    "h": 312.8
  },
  "luminance": 0.05526
}

Semantic roles & 50–950 ramp

primary
#661F86
secondary
#6BB849
accent
#E54275
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #661F86

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

Preview Lab → · Contrast checker → · Palette generator →

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