#661C78#661C78

#661C78 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.156 H 318.9°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#661C78
RGBrgb(102, 28, 120)
HSLhsl(288, 62%, 29%)
HSVhsv(288, 77%, 47%)
CMYKcmyk(15%, 76.7%, 0%, 52.9%)
CIE-LABlab(26.77, 45.93, -36.52)
CIE-LCHlch(26.77, 58.68, 321.51°)
OKLaboklab(38.9% 0.1175 -0.1025)
OKLCHoklch(38.9% 0.156 318.9)
XYZxyz(9.2845, 5.0118, 18.2440)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C78 #2E781C
analogous
#381C78 #661C78 #781C5C
triadic
#661C78 #78661C #1C7866
tetradic
#661C78 #78381C #2E781C #1C5C78
square
#661C78 #78381C #2E781C #1C5C78
split-complementary
#661C78 #5C781C #1C7838
monochromatic
#150619 #3C1046 #661C78 #9028AA #B53DD2

Accessibility & contrast

On white

10.49
#661C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#661C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661C78
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C78#FFFFFF#000000##FFFFFF
##661C781.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#224276
Tritanopia (blue-blind)
#662F49
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #661c78;
/* rgb */ color: rgb(102, 28, 120);
/* oklch */ color: oklch(38.9% 0.156 318.9);
Tailwind
colors: {
  custom: {
    50: '#95619f',
    500: '#661c78',
    950: '#000000',
  },
}
SCSS
$custom: #661c78;
$custom-light: #95619f;
$custom-dark: #000000;
JSON
{
  "hex": "#661c78",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 288.261,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38897,
    "c": 0.15596,
    "h": 318.9
  },
  "luminance": 0.05011
}

Semantic roles & 50–950 ramp

primary
#661C78
secondary
#58AC44
accent
#E54362
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #661C78

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

Preview Lab → · Contrast checker → · Palette generator →

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