#661C7D#661C7D

#661C7D is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.3% C 0.161 H 316.7°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#661C7D
RGBrgb(102, 28, 125)
HSLhsl(286, 63%, 30%)
HSVhsv(286, 78%, 49%)
CMYKcmyk(18.4%, 77.6%, 0%, 51%)
CIE-LABlab(27.12, 46.96, -39.12)
CIE-LCHlch(27.12, 61.12, 320.20°)
OKLaboklab(39.26% 0.1169 -0.1102)
OKLCHoklch(39.26% 0.161 316.7)
XYZxyz(9.5959, 5.1364, 19.8840)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C7D #337D1C
analogous
#351C7D #661C7D #7D1C64
triadic
#661C7D #7D661C #1C7D66
tetradic
#661C7D #7D351C #337D1C #1C647D
square
#661C7D #7D351C #337D1C #1C647D
split-complementary
#661C7D #647D1C #1C7D35
monochromatic
#140619 #3D114B #661C7D #8F27AF #B13FD4

Accessibility & contrast

On white

10.36
#661C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661C7D
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C7D#FFFFFF#000000##FFFFFF
##661C7D1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#1D427B
Tritanopia (blue-blind)
#65314B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661c7d;
/* rgb */ color: rgb(102, 28, 125);
/* oklch */ color: oklch(39.3% 0.161 316.7);
Tailwind
colors: {
  custom: {
    50: '#9561a3',
    500: '#661c7d',
    950: '#000000',
  },
}
SCSS
$custom: #661c7d;
$custom-light: #9561a3;
$custom-dark: #000000;
JSON
{
  "hex": "#661c7d",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 285.773,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.39258,
    "c": 0.16063,
    "h": 316.7
  },
  "luminance": 0.05136
}

Semantic roles & 50–950 ramp

primary
#661C7D
secondary
#5EB144
accent
#E64169
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #661C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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