#661E7A#661E7A

#661E7A is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.2% C 0.155 H 317.9°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#661E7A
RGBrgb(102, 30, 122)
HSLhsl(287, 61%, 30%)
HSVhsv(287, 75%, 48%)
CMYKcmyk(16.4%, 75.4%, 0%, 52.2%)
CIE-LABlab(27.18, 45.55, -37.12)
CIE-LCHlch(27.18, 58.76, 320.82°)
OKLaboklab(39.24% 0.1153 -0.1043)
OKLCHoklch(39.24% 0.155 317.9)
XYZxyz(9.4561, 5.1589, 18.9062)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E7A #327A1E
analogous
#381E7A #661E7A #7A1E60
triadic
#661E7A #7A661E #1E7A66
tetradic
#661E7A #7A381E #327A1E #1E607A
square
#661E7A #7A381E #327A1E #1E607A
split-complementary
#661E7A #607A1E #1E7A38
monochromatic
#150619 #3D1249 #661E7A #8F2AAB #B242D0

Accessibility & contrast

On white

10.34
#661E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#661E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661E7A
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E7A#FFFFFF#000000##FFFFFF
##661E7A1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#224278
Tritanopia (blue-blind)
#65314A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661e7a;
/* rgb */ color: rgb(102, 30, 122);
/* oklch */ color: oklch(39.2% 0.155 317.9);
Tailwind
colors: {
  custom: {
    50: '#9562a1',
    500: '#661e7a',
    950: '#000000',
  },
}
SCSS
$custom: #661e7a;
$custom-light: #9562a1;
$custom-dark: #000000;
JSON
{
  "hex": "#661e7a",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 286.957,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39236,
    "c": 0.15545,
    "h": 317.9
  },
  "luminance": 0.05158
}

Semantic roles & 50–950 ramp

primary
#661E7A
secondary
#5DAE46
accent
#E44467
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #661E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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