#661678#661678

#661678 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.162 H 319.3°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#661678
RGBrgb(102, 22, 120)
HSLhsl(289, 69%, 28%)
HSVhsv(289, 82%, 47%)
CMYKcmyk(15%, 81.7%, 0%, 52.9%)
CIE-LABlab(26.03, 48.06, -37.72)
CIE-LCHlch(26.03, 61.09, 321.88°)
OKLaboklab(38.37% 0.1231 -0.106)
OKLCHoklch(38.37% 0.162 319.3)
XYZxyz(9.1561, 4.7551, 18.2012)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661678 #287816
analogous
#351678 #661678 #781659
triadic
#661678 #786616 #167866
tetradic
#661678 #783516 #287816 #165978
square
#661678 #783516 #287816 #165978
split-complementary
#661678 #597816 #167835
monochromatic
#16051A #3A0D44 #661678 #921FAC #BA2FD9

Accessibility & contrast

On white

10.76
#661678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#661678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661678
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661678#FFFFFF#000000##FFFFFF
##6616781.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387B
Deuteranopia (green-blind)
#1E4076
Tritanopia (blue-blind)
#662C47
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #661678;
/* rgb */ color: rgb(102, 22, 120);
/* oklch */ color: oklch(38.4% 0.162 319.3);
Tailwind
colors: {
  custom: {
    50: '#955e9f',
    500: '#661678',
    950: '#000000',
  },
}
SCSS
$custom: #661678;
$custom-light: #955e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#661678",
  "rgb": {
    "r": 102,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 288.98,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38371,
    "c": 0.16245,
    "h": 319.3
  },
  "luminance": 0.04755
}

Semantic roles & 50–950 ramp

primary
#661678
secondary
#51AD3C
accent
#EC3C5C
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #661678

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

Preview Lab → · Contrast checker → · Palette generator →

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