#661A84#661A84

#661A84 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.6% C 0.169 H 314.0°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#661A84
RGBrgb(102, 26, 132)
HSLhsl(283, 67%, 31%)
HSVhsv(283, 80%, 52%)
CMYKcmyk(22.7%, 80.3%, 0%, 48.2%)
CIE-LABlab(27.38, 49.16, -43.11)
CIE-LCHlch(27.38, 65.39, 318.75°)
OKLaboklab(39.61% 0.1176 -0.1218)
OKLCHoklch(39.61% 0.169 314)
XYZxyz(10.0130, 5.2299, 22.3073)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A84 #38841A
analogous
#311A84 #661A84 #841A6D
triadic
#661A84 #84661A #1A8466
tetradic
#661A84 #84311A #38841A #1A6D84
square
#661A84 #84311A #38841A #1A6D84
split-complementary
#661A84 #6D841A #1A8431
monochromatic
#17061E #3E1051 #661A84 #8E24B7 #AE3FD9

Accessibility & contrast

On white

10.26
#661A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#661A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A84
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A84#FFFFFF#000000##FFFFFF
##661A841.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#104282
Tritanopia (blue-blind)
#63334F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #661a84;
/* rgb */ color: rgb(102, 26, 132);
/* oklch */ color: oklch(39.6% 0.169 314.0);
Tailwind
colors: {
  custom: {
    50: '#9660a8',
    500: '#661a84',
    950: '#000000',
  },
}
SCSS
$custom: #661a84;
$custom-light: #9660a8;
$custom-dark: #000000;
JSON
{
  "hex": "#661a84",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 132
  },
  "hsl": {
    "h": 283.019,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39605,
    "c": 0.16935,
    "h": 314
  },
  "luminance": 0.0523
}

Semantic roles & 50–950 ramp

primary
#661A84
secondary
#63B842
accent
#EA3E6F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661A84

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

Preview Lab → · Contrast checker → · Palette generator →

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