#661D84#661D84

#661D84 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.9% C 0.166 H 313.7°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#661D84
RGBrgb(102, 29, 132)
HSLhsl(283, 64%, 32%)
HSVhsv(283, 78%, 52%)
CMYKcmyk(22.7%, 78%, 0%, 48.2%)
CIE-LABlab(27.76, 48.06, -42.49)
CIE-LCHlch(27.76, 64.15, 318.52°)
OKLaboklab(39.88% 0.1149 -0.12)
OKLCHoklch(39.88% 0.166 313.7)
XYZxyz(10.0830, 5.3698, 22.3307)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661D84 #3B841D
analogous
#331D84 #661D84 #841D6F
triadic
#661D84 #84661D #1D8466
tetradic
#661D84 #84331D #3B841D #1D6F84
square
#661D84 #84331D #3B841D #1D6F84
split-complementary
#661D84 #6F841D #1D8433
monochromatic
#180720 #3F1252 #661D84 #8D28B6 #AC45D6

Accessibility & contrast

On white

10.13
#661D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661D84
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661D84#FFFFFF#000000##FFFFFF
##661D841.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#144382
Tritanopia (blue-blind)
#633550
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #661d84;
/* rgb */ color: rgb(102, 29, 132);
/* oklch */ color: oklch(39.9% 0.166 313.7);
Tailwind
colors: {
  custom: {
    50: '#9562a8',
    500: '#661d84',
    950: '#000000',
  },
}
SCSS
$custom: #661d84;
$custom-light: #9562a8;
$custom-dark: #000000;
JSON
{
  "hex": "#661d84",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 282.524,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39875,
    "c": 0.16615,
    "h": 313.7
  },
  "luminance": 0.05369
}

Semantic roles & 50–950 ramp

primary
#661D84
secondary
#67B746
accent
#E74171
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661D84

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

Preview Lab → · Contrast checker → · Palette generator →

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