#661C7B#661C7B

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

Color values

HEX#661C7B
RGBrgb(102, 28, 123)
HSLhsl(287, 63%, 30%)
HSVhsv(287, 77%, 48%)
CMYKcmyk(17.1%, 77.2%, 0%, 51.8%)
CIE-LABlab(26.98, 46.54, -38.09)
CIE-LCHlch(26.98, 60.14, 320.70°)
OKLaboklab(39.11% 0.1172 -0.1071)
OKLCHoklch(39.11% 0.159 317.6)
XYZxyz(9.4694, 5.0858, 19.2179)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C7B #317B1C
analogous
#371C7B #661C7B #7B1C61
triadic
#661C7B #7B661C #1C7B66
tetradic
#661C7B #7B371C #317B1C #1C617B
square
#661C7B #7B371C #317B1C #1C617B
split-complementary
#661C7B #617B1C #1C7B37
monochromatic
#150619 #3D1149 #661C7B #8F27AD #B23ED3

Accessibility & contrast

On white

10.41
#661C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661C7B
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C7B#FFFFFF#000000##FFFFFF
##661C7B1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#1F4279
Tritanopia (blue-blind)
#65304A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661c7b;
/* rgb */ color: rgb(102, 28, 123);
/* oklch */ color: oklch(39.1% 0.159 317.6);
Tailwind
colors: {
  custom: {
    50: '#9561a2',
    500: '#661c7b',
    950: '#000000',
  },
}
SCSS
$custom: #661c7b;
$custom-light: #9561a2;
$custom-dark: #000000;
JSON
{
  "hex": "#661c7b",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 286.737,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39112,
    "c": 0.15876,
    "h": 317.6
  },
  "luminance": 0.05085
}

Semantic roles & 50–950 ramp

primary
#661C7B
secondary
#5CAF44
accent
#E64266
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #661C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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