#661E78#661E78

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

Color values

HEX#661E78
RGBrgb(102, 30, 120)
HSLhsl(288, 60%, 29%)
HSVhsv(288, 75%, 47%)
CMYKcmyk(15%, 75%, 0%, 52.9%)
CIE-LABlab(27.05, 45.14, -36.08)
CIE-LCHlch(27.05, 57.78, 321.37°)
OKLaboklab(39.09% 0.1155 -0.1012)
OKLCHoklch(39.09% 0.154 318.8)
XYZxyz(9.3335, 5.1098, 18.2603)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E78 #30781E
analogous
#391E78 #661E78 #781E5D
triadic
#661E78 #78661E #1E7866
tetradic
#661E78 #78391E #30781E #1E5D78
square
#661E78 #78391E #30781E #1E5D78
split-complementary
#661E78 #5D781E #1E7839
monochromatic
#150618 #3C1247 #661E78 #902AA9 #B341CF

Accessibility & contrast

On white

10.39
#661E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#661E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661E78
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E78#FFFFFF#000000##FFFFFF
##661E781.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661e78;
/* rgb */ color: rgb(102, 30, 120);
/* oklch */ color: oklch(39.1% 0.154 318.8);
Tailwind
colors: {
  custom: {
    50: '#95629f',
    500: '#661e78',
    950: '#000000',
  },
}
SCSS
$custom: #661e78;
$custom-light: #95629f;
$custom-dark: #000000;
JSON
{
  "hex": "#661e78",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 120
  },
  "hsl": {
    "h": 288,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39094,
    "c": 0.15355,
    "h": 318.8
  },
  "luminance": 0.05109
}

Semantic roles & 50–950 ramp

primary
#661E78
secondary
#5AAC46
accent
#E34564
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #661E78

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

Preview Lab → · Contrast checker → · Palette generator →

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