#661A78#661A78

#661A78 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.158 H 319.0°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#661A78
RGBrgb(102, 26, 120)
HSLhsl(289, 64%, 29%)
HSVhsv(289, 78%, 47%)
CMYKcmyk(15%, 78.3%, 0%, 52.9%)
CIE-LABlab(26.51, 46.68, -36.94)
CIE-LCHlch(26.51, 59.53, 321.64°)
OKLaboklab(38.71% 0.1195 -0.1037)
OKLCHoklch(38.71% 0.158 319)
XYZxyz(9.2386, 4.9201, 18.2287)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A78 #2C781A
analogous
#371A78 #661A78 #781A5B
triadic
#661A78 #78661A #1A7866
tetradic
#661A78 #78371A #2C781A #1A5B78
square
#661A78 #78371A #2C781A #1A5B78
split-complementary
#661A78 #5B781A #1A7837
monochromatic
#150519 #3B0F46 #661A78 #9125AA #B638D4

Accessibility & contrast

On white

10.58
#661A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#661A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A78
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A78#FFFFFF#000000##FFFFFF
##661A781.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661a78;
/* rgb */ color: rgb(102, 26, 120);
/* oklch */ color: oklch(38.7% 0.158 319.0);
Tailwind
colors: {
  custom: {
    50: '#95609f',
    500: '#661a78',
    950: '#000000',
  },
}
SCSS
$custom: #661a78;
$custom-light: #95609f;
$custom-dark: #000000;
JSON
{
  "hex": "#661a78",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 288.511,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38711,
    "c": 0.15825,
    "h": 319
  },
  "luminance": 0.0492
}

Semantic roles & 50–950 ramp

primary
#661A78
secondary
#56AC41
accent
#E74060
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #661A78

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

Preview Lab → · Contrast checker → · Palette generator →

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