#661D71#661D71

#661D71 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.5% C 0.148 H 322.1°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#661D71
RGBrgb(102, 29, 113)
HSLhsl(292, 59%, 28%)
HSVhsv(292, 74%, 44%)
CMYKcmyk(9.7%, 74.3%, 0%, 55.7%)
CIE-LABlab(26.44, 44.12, -32.58)
CIE-LCHlch(26.44, 54.85, 323.56°)
OKLaboklab(38.51% 0.117 -0.091)
OKLCHoklch(38.51% 0.148 322.1)
XYZxyz(8.8992, 4.8963, 16.0959)
Luminance0.0490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661D71 #28711D
analogous
#3C1D71 #661D71 #711D52
triadic
#661D71 #71661D #1D7166
tetradic
#661D71 #713C1D #28711D #1D5271
square
#661D71 #713C1D #28711D #1D5271
split-complementary
#661D71 #52711D #1D713C
monochromatic
#160618 #3A1140 #661D71 #9229A2 #BA3CCD

Accessibility & contrast

On white

10.61
#661D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#661D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661D71
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661D71#FFFFFF#000000##FFFFFF
##661D711.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#29416F
Tritanopia (blue-blind)
#672C45
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #661d71;
/* rgb */ color: rgb(102, 29, 113);
/* oklch */ color: oklch(38.5% 0.148 322.1);
Tailwind
colors: {
  custom: {
    50: '#95619a',
    500: '#661d71',
    950: '#000000',
  },
}
SCSS
$custom: #661d71;
$custom-light: #95619a;
$custom-dark: #000000;
JSON
{
  "hex": "#661d71",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 292.143,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38511,
    "c": 0.14824,
    "h": 322.1
  },
  "luminance": 0.04896
}

Semantic roles & 50–950 ramp

primary
#661D71
secondary
#51A544
accent
#E2455A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #661D71

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

Preview Lab → · Contrast checker → · Palette generator →

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