#661D7F#661D7F

#661D7F is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.161 H 315.8°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#661D7F
RGBrgb(102, 29, 127)
HSLhsl(285, 63%, 31%)
HSVhsv(285, 77%, 50%)
CMYKcmyk(19.7%, 77.2%, 0%, 50.2%)
CIE-LABlab(27.40, 46.99, -39.94)
CIE-LCHlch(27.40, 61.67, 319.64°)
OKLaboklab(39.5% 0.1157 -0.1126)
OKLCHoklch(39.5% 0.161 315.8)
XYZxyz(9.7490, 5.2362, 20.5717)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661D7F #367F1D
analogous
#351D7F #661D7F #7F1D67
triadic
#661D7F #7F661D #1D7F66
tetradic
#661D7F #7F351D #367F1D #1D677F
square
#661D7F #7F351D #367F1D #1D677F
split-complementary
#661D7F #677F1D #1D7F35
monochromatic
#16061B #3E124D #661D7F #8E28B1 #AF42D4

Accessibility & contrast

On white

10.26
#661D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#661D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661D7F
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661D7F#FFFFFF#000000##FFFFFF
##661D7F1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#1B437D
Tritanopia (blue-blind)
#64324D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #661d7f;
/* rgb */ color: rgb(102, 29, 127);
/* oklch */ color: oklch(39.5% 0.161 315.8);
Tailwind
colors: {
  custom: {
    50: '#9561a5',
    500: '#661d7f',
    950: '#000000',
  },
}
SCSS
$custom: #661d7f;
$custom-light: #9561a5;
$custom-dark: #000000;
JSON
{
  "hex": "#661d7f",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 284.694,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39501,
    "c": 0.16139,
    "h": 315.8
  },
  "luminance": 0.05236
}

Semantic roles & 50–950 ramp

primary
#661D7F
secondary
#61B245
accent
#E6426C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #661D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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