#661B84#661B84

#661B84 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.168 H 313.9°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#661B84
RGBrgb(102, 27, 132)
HSLhsl(283, 66%, 31%)
HSVhsv(283, 80%, 52%)
CMYKcmyk(22.7%, 79.5%, 0%, 48.2%)
CIE-LABlab(27.50, 48.81, -42.91)
CIE-LCHlch(27.50, 64.99, 318.68°)
OKLaboklab(39.69% 0.1167 -0.1213)
OKLCHoklch(39.69% 0.168 313.9)
XYZxyz(10.0356, 5.2749, 22.3148)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B84 #39841B
analogous
#311B84 #661B84 #841B6D
triadic
#661B84 #84661B #1B8466
tetradic
#661B84 #84311B #39841B #1B6D84
square
#661B84 #84311B #39841B #1B6D84
split-complementary
#661B84 #6D841B #1B8431
monochromatic
#17061E #3F1151 #661B84 #8D25B7 #AD41D8

Accessibility & contrast

On white

10.22
#661B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#661B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B84
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B84#FFFFFF#000000##FFFFFF
##661B841.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#114382
Tritanopia (blue-blind)
#63344F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #661b84;
/* rgb */ color: rgb(102, 27, 132);
/* oklch */ color: oklch(39.7% 0.168 313.9);
Tailwind
colors: {
  custom: {
    50: '#9661a8',
    500: '#661b84',
    950: '#000000',
  },
}
SCSS
$custom: #661b84;
$custom-light: #9661a8;
$custom-dark: #000000;
JSON
{
  "hex": "#661b84",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 282.857,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39693,
    "c": 0.16831,
    "h": 313.9
  },
  "luminance": 0.05275
}

Semantic roles & 50–950 ramp

primary
#661B84
secondary
#65B743
accent
#E93F6F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661B84

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

Preview Lab → · Contrast checker → · Palette generator →

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