#661D85#661D85

#661D85 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.167 H 313.3°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#661D85
RGBrgb(102, 29, 133)
HSLhsl(282, 64%, 32%)
HSVhsv(282, 78%, 52%)
CMYKcmyk(23.3%, 78.2%, 0%, 47.8%)
CIE-LABlab(27.84, 48.27, -43.00)
CIE-LCHlch(27.84, 64.65, 318.31°)
OKLaboklab(39.95% 0.1147 -0.1215)
OKLCHoklch(39.95% 0.167 313.3)
XYZxyz(10.1517, 5.3973, 22.6928)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661D85 #3C851D
analogous
#321D85 #661D85 #851D70
triadic
#661D85 #85661D #1D8566
tetradic
#661D85 #85321D #3C851D #1D7085
square
#661D85 #85321D #3C851D #1D7085
split-complementary
#661D85 #70851D #1D8532
monochromatic
#190721 #3F1253 #661D85 #8D28B7 #AB46D7

Accessibility & contrast

On white

10.10
#661D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#661D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661D85
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661D85#FFFFFF#000000##FFFFFF
##661D851.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661d85;
/* rgb */ color: rgb(102, 29, 133);
/* oklch */ color: oklch(40.0% 0.167 313.3);
Tailwind
colors: {
  custom: {
    50: '#9662a9',
    500: '#661d85',
    950: '#000000',
  },
}
SCSS
$custom: #661d85;
$custom-light: #9662a9;
$custom-dark: #000000;
JSON
{
  "hex": "#661d85",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 282.115,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39952,
    "c": 0.16711,
    "h": 313.3
  },
  "luminance": 0.05397
}

Semantic roles & 50–950 ramp

primary
#661D85
secondary
#68B846
accent
#E74172
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661D85

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

Preview Lab → · Contrast checker → · Palette generator →

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