#661571#661571

#661571 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.8% C 0.157 H 322.5°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#661571
RGBrgb(102, 21, 113)
HSLhsl(293, 69%, 26%)
HSVhsv(293, 81%, 44%)
CMYKcmyk(9.7%, 81.4%, 0%, 55.7%)
CIE-LABlab(25.42, 47.03, -34.20)
CIE-LCHlch(25.42, 58.15, 323.97°)
OKLaboklab(37.79% 0.1249 -0.0957)
OKLCHoklch(37.79% 0.157 322.5)
XYZxyz(8.7280, 4.5539, 16.0388)
Luminance0.0455 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661571 #207115
analogous
#381571 #661571 #71154E
triadic
#661571 #716615 #157166
tetradic
#661571 #713815 #207115 #154E71
square
#661571 #713815 #207115 #154E71
split-complementary
#661571 #4E7115 #157138
monochromatic
#17051A #370B3D #661571 #951FA5 #C229D7

Accessibility & contrast

On white

10.99
#661571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#661571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661571
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661571#FFFFFF#000000##FFFFFF
##6615711.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#243F6F
Tritanopia (blue-blind)
#672843
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #661571;
/* rgb */ color: rgb(102, 21, 113);
/* oklch */ color: oklch(37.8% 0.157 322.5);
Tailwind
colors: {
  custom: {
    50: '#955d9a',
    500: '#661571',
    950: '#000000',
  },
}
SCSS
$custom: #661571;
$custom-light: #955d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#661571",
  "rgb": {
    "r": 102,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 292.826,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3779,
    "c": 0.15731,
    "h": 322.5
  },
  "luminance": 0.04553
}

Semantic roles & 50–950 ramp

primary
#661571
secondary
#48A73B
accent
#EB3C51
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661571

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

Preview Lab → · Contrast checker → · Palette generator →

#661571 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva