#661C71#661C71

#661C71 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.149 H 322.2°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#661C71
RGBrgb(102, 28, 113)
HSLhsl(292, 60%, 28%)
HSVhsv(292, 75%, 44%)
CMYKcmyk(9.7%, 75.2%, 0%, 55.7%)
CIE-LABlab(26.30, 44.52, -32.81)
CIE-LCHlch(26.30, 55.30, 323.61°)
OKLaboklab(38.41% 0.1181 -0.0917)
OKLCHoklch(38.41% 0.149 322.2)
XYZxyz(8.8751, 4.8480, 16.0879)
Luminance0.0485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C71 #27711C
analogous
#3B1C71 #661C71 #711C52
triadic
#661C71 #71661C #1C7166
tetradic
#661C71 #713B1C #27711C #1C5271
square
#661C71 #713B1C #27711C #1C5271
split-complementary
#661C71 #52711C #1C713B
monochromatic
#160619 #3A1040 #661C71 #9228A2 #BB39CE

Accessibility & contrast

On white

10.66
#661C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#661C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661C71
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C71#FFFFFF#000000##FFFFFF
##661C711.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661c71;
/* rgb */ color: rgb(102, 28, 113);
/* oklch */ color: oklch(38.4% 0.149 322.2);
Tailwind
colors: {
  custom: {
    50: '#95609a',
    500: '#661c71',
    950: '#000000',
  },
}
SCSS
$custom: #661c71;
$custom-light: #95609a;
$custom-dark: #000000;
JSON
{
  "hex": "#661c71",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 292.235,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38411,
    "c": 0.14949,
    "h": 322.2
  },
  "luminance": 0.04848
}

Semantic roles & 50–950 ramp

primary
#661C71
secondary
#50A643
accent
#E34459
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661C71

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

Preview Lab → · Contrast checker → · Palette generator →

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