#661C88#661C88

#661C88 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.171 H 312.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#661C88
RGBrgb(102, 28, 136)
HSLhsl(281, 66%, 32%)
HSVhsv(281, 79%, 53%)
CMYKcmyk(25%, 79.4%, 0%, 46.7%)
CIE-LABlab(27.93, 49.30, -44.71)
CIE-LCHlch(27.93, 66.55, 317.79°)
OKLaboklab(40.09% 0.1151 -0.1266)
OKLCHoklch(40.09% 0.171 312.3)
XYZxyz(10.3379, 5.4332, 23.7919)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C88 #3E881C
analogous
#301C88 #661C88 #881C74
triadic
#661C88 #88661C #1C8866
tetradic
#661C88 #88301C #3E881C #1C7488
square
#661C88 #88301C #3E881C #1C7488
split-complementary
#661C88 #74881C #1C8830
monochromatic
#1A0722 #401255 #661C88 #8C26BB #AA46D9

Accessibility & contrast

On white

10.06
#661C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#661C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661C88
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C88#FFFFFF#000000##FFFFFF
##661C881.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#094386
Tritanopia (blue-blind)
#623652
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #661c88;
/* rgb */ color: rgb(102, 28, 136);
/* oklch */ color: oklch(40.1% 0.171 312.3);
Tailwind
colors: {
  custom: {
    50: '#9661ab',
    500: '#661c88',
    950: '#000000',
  },
}
SCSS
$custom: #661c88;
$custom-light: #9661ab;
$custom-dark: #000000;
JSON
{
  "hex": "#661c88",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 136
  },
  "hsl": {
    "h": 281.111,
    "s": 65.854,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40092,
    "c": 0.17105,
    "h": 312.3
  },
  "luminance": 0.05433
}

Semantic roles & 50–950 ramp

primary
#661C88
secondary
#6ABA45
accent
#E93F74
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661C88

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

Preview Lab → · Contrast checker → · Palette generator →

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