#661671#661671

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

Color values

HEX#661671
RGBrgb(102, 22, 113)
HSLhsl(293, 67%, 26%)
HSVhsv(293, 81%, 44%)
CMYKcmyk(9.7%, 80.5%, 0%, 55.7%)
CIE-LABlab(25.54, 46.70, -34.02)
CIE-LCHlch(25.54, 57.78, 323.92°)
OKLaboklab(37.87% 0.124 -0.0952)
OKLCHoklch(37.87% 0.156 322.5)
XYZxyz(8.7467, 4.5914, 16.0451)
Luminance0.0459 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661671 #217116
analogous
#391671 #661671 #71164F
triadic
#661671 #716616 #167166
tetradic
#661671 #713916 #217116 #164F71
square
#661671 #713916 #217116 #164F71
split-complementary
#661671 #4F7116 #167139
monochromatic
#17051A #380C3E #661671 #9420A4 #C12CD6

Accessibility & contrast

On white

10.95
#661671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#661671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661671
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661671#FFFFFF#000000##FFFFFF
##6616711.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661671;
/* rgb */ color: rgb(102, 22, 113);
/* oklch */ color: oklch(37.9% 0.156 322.5);
Tailwind
colors: {
  custom: {
    50: '#955e9a',
    500: '#661671',
    950: '#000000',
  },
}
SCSS
$custom: #661671;
$custom-light: #955e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#661671",
  "rgb": {
    "r": 102,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 292.747,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3787,
    "c": 0.1563,
    "h": 322.5
  },
  "luminance": 0.04591
}

Semantic roles & 50–950 ramp

primary
#661671
secondary
#49A73C
accent
#EA3E52
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661671

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

Preview Lab → · Contrast checker → · Palette generator →

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