#661B86#661B86

#661B86 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.170 H 313.1°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#661B86
RGBrgb(102, 27, 134)
HSLhsl(282, 66%, 32%)
HSVhsv(282, 80%, 53%)
CMYKcmyk(23.9%, 79.9%, 0%, 47.5%)
CIE-LABlab(27.66, 49.23, -43.92)
CIE-LCHlch(27.66, 65.97, 318.27°)
OKLaboklab(39.85% 0.1163 -0.1242)
OKLCHoklch(39.85% 0.17 313.1)
XYZxyz(10.1737, 5.3302, 23.0425)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B86 #3B861B
analogous
#311B86 #661B86 #861B71
triadic
#661B86 #86661B #1B8666
tetradic
#661B86 #86311B #3B861B #1B7186
square
#661B86 #86311B #3B861B #1B7186
split-complementary
#661B86 #71861B #1B8631
monochromatic
#180620 #3F1153 #661B86 #8D25B9 #AC42D9

Accessibility & contrast

On white

10.16
#661B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#661B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B86
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B86#FFFFFF#000000##FFFFFF
##661B861.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#0D4384
Tritanopia (blue-blind)
#623550
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #661b86;
/* rgb */ color: rgb(102, 27, 134);
/* oklch */ color: oklch(39.8% 0.170 313.1);
Tailwind
colors: {
  custom: {
    50: '#9661aa',
    500: '#661b86',
    950: '#000000',
  },
}
SCSS
$custom: #661b86;
$custom-light: #9661aa;
$custom-dark: #000000;
JSON
{
  "hex": "#661b86",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 282.056,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39847,
    "c": 0.17019,
    "h": 313.1
  },
  "luminance": 0.0533
}

Semantic roles & 50–950 ramp

primary
#661B86
secondary
#67B944
accent
#E93E72
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661B86

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

Preview Lab → · Contrast checker → · Palette generator →

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