#661D7D#661D7D

#661D7D is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.159 H 316.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#661D7D
RGBrgb(102, 29, 125)
HSLhsl(286, 62%, 30%)
HSVhsv(286, 77%, 49%)
CMYKcmyk(18.4%, 76.8%, 0%, 51%)
CIE-LABlab(27.25, 46.57, -38.91)
CIE-LCHlch(27.25, 60.69, 320.12°)
OKLaboklab(39.35% 0.1159 -0.1095)
OKLCHoklch(39.35% 0.159 316.6)
XYZxyz(9.6200, 5.1846, 19.8920)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661D7D #347D1D
analogous
#361D7D #661D7D #7D1D64
triadic
#661D7D #7D661D #1D7D66
tetradic
#661D7D #7D361D #347D1D #1D647D
square
#661D7D #7D361D #347D1D #1D647D
split-complementary
#661D7D #647D1D #1D7D36
monochromatic
#15061A #3D114B #661D7D #8F29AF #B041D3

Accessibility & contrast

On white

10.31
#661D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#661D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661D7D
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661D7D#FFFFFF#000000##FFFFFF
##661D7D1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#1D427B
Tritanopia (blue-blind)
#65314C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661d7d;
/* rgb */ color: rgb(102, 29, 125);
/* oklch */ color: oklch(39.4% 0.159 316.6);
Tailwind
colors: {
  custom: {
    50: '#9561a3',
    500: '#661d7d',
    950: '#000000',
  },
}
SCSS
$custom: #661d7d;
$custom-light: #9561a3;
$custom-dark: #000000;
JSON
{
  "hex": "#661d7d",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 285.625,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39354,
    "c": 0.15949,
    "h": 316.6
  },
  "luminance": 0.05184
}

Semantic roles & 50–950 ramp

primary
#661D7D
secondary
#5FB145
accent
#E54269
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #661D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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