#661D78#661D78

#661D78 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.0% C 0.155 H 318.8°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#661D78
RGBrgb(102, 29, 120)
HSLhsl(288, 61%, 29%)
HSVhsv(288, 76%, 47%)
CMYKcmyk(15%, 75.8%, 0%, 52.9%)
CIE-LABlab(26.91, 45.54, -36.30)
CIE-LCHlch(26.91, 58.24, 321.44°)
OKLaboklab(38.99% 0.1165 -0.1019)
OKLCHoklch(38.99% 0.155 318.8)
XYZxyz(9.3086, 5.0600, 18.2520)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661D78 #2F781D
analogous
#391D78 #661D78 #781D5D
triadic
#661D78 #78661D #1D7866
tetradic
#661D78 #78391D #2F781D #1D5D78
square
#661D78 #78391D #2F781D #1D5D78
split-complementary
#661D78 #5D781D #1D7839
monochromatic
#150619 #3C1147 #661D78 #9029A9 #B43FD1

Accessibility & contrast

On white

10.44
#661D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#661D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661D78
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661D78#FFFFFF#000000##FFFFFF
##661D781.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#234276
Tritanopia (blue-blind)
#662F49
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661d78;
/* rgb */ color: rgb(102, 29, 120);
/* oklch */ color: oklch(39.0% 0.155 318.8);
Tailwind
colors: {
  custom: {
    50: '#95619f',
    500: '#661d78',
    950: '#000000',
  },
}
SCSS
$custom: #661d78;
$custom-light: #95619f;
$custom-dark: #000000;
JSON
{
  "hex": "#661d78",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 288.132,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38994,
    "c": 0.15477,
    "h": 318.8
  },
  "luminance": 0.0506
}

Semantic roles & 50–950 ramp

primary
#661D78
secondary
#59AC45
accent
#E44463
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #661D78

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

Preview Lab → · Contrast checker → · Palette generator →

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