#661C81#661C81

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

Color values

HEX#661C81
RGBrgb(102, 28, 129)
HSLhsl(284, 64%, 31%)
HSVhsv(284, 78%, 51%)
CMYKcmyk(20.9%, 78.3%, 0%, 49.4%)
CIE-LABlab(27.41, 47.80, -41.18)
CIE-LCHlch(27.41, 63.09, 319.25°)
OKLaboklab(39.56% 0.1163 -0.1162)
OKLCHoklch(39.56% 0.164 315)
XYZxyz(9.8565, 5.2406, 21.2570)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C81 #37811C
analogous
#331C81 #661C81 #811C69
triadic
#661C81 #81661C #1C8166
tetradic
#661C81 #81331C #37811C #1C6981
square
#661C81 #81331C #37811C #1C6981
split-complementary
#661C81 #69811C #1C8133
monochromatic
#16061C #3E114F #661C81 #8E27B3 #AE42D6

Accessibility & contrast

On white

10.25
#661C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661C81
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C81#FFFFFF#000000##FFFFFF
##661C811.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D84
Deuteranopia (green-blind)
#17437F
Tritanopia (blue-blind)
#64334E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #661c81;
/* rgb */ color: rgb(102, 28, 129);
/* oklch */ color: oklch(39.6% 0.164 315.0);
Tailwind
colors: {
  custom: {
    50: '#9561a6',
    500: '#661c81',
    950: '#000000',
  },
}
SCSS
$custom: #661c81;
$custom-light: #9561a6;
$custom-dark: #000000;
JSON
{
  "hex": "#661c81",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 283.96,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39555,
    "c": 0.16441,
    "h": 315
  },
  "luminance": 0.0524
}

Semantic roles & 50–950 ramp

primary
#661C81
secondary
#62B444
accent
#E7406D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #661C81

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

Preview Lab → · Contrast checker → · Palette generator →

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