#661171#661171

#661171 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.5% C 0.161 H 322.7°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#661171
RGBrgb(102, 17, 113)
HSLhsl(293, 74%, 25%)
HSVhsv(293, 85%, 44%)
CMYKcmyk(9.7%, 85%, 0%, 55.7%)
CIE-LABlab(25.01, 48.23, -34.87)
CIE-LCHlch(25.01, 59.51, 324.13°)
OKLaboklab(37.5% 0.1281 -0.0976)
OKLCHoklch(37.5% 0.161 322.7)
XYZxyz(8.6603, 4.4185, 16.0163)
Luminance0.0442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661171 #1C7111
analogous
#361171 #661171 #71114C
triadic
#661171 #716611 #117166
tetradic
#661171 #713611 #1C7111 #114C71
square
#661171 #713611 #1C7111 #114C71
split-complementary
#661171 #4C7111 #117136
monochromatic
#18041B #36093C #661171 #9619A6 #C621DB

Accessibility & contrast

On white

11.15
#661171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#661171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661171
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661171#FFFFFF#000000##FFFFFF
##6611711.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#223E6F
Tritanopia (blue-blind)
#672642
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #661171;
/* rgb */ color: rgb(102, 17, 113);
/* oklch */ color: oklch(37.5% 0.161 322.7);
Tailwind
colors: {
  custom: {
    50: '#955c9a',
    500: '#661171',
    950: '#000000',
  },
}
SCSS
$custom: #661171;
$custom-light: #955c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#661171",
  "rgb": {
    "r": 102,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 293.125,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.37497,
    "c": 0.16106,
    "h": 322.7
  },
  "luminance": 0.04418
}

Semantic roles & 50–950 ramp

primary
#661171
secondary
#43A836
accent
#F1374D
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661171

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

Preview Lab → · Contrast checker → · Palette generator →

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