#661B5A#661B5A

#661B5A is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.9% C 0.131 H 335.0°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#661B5A
RGBrgb(102, 27, 90)
HSLhsl(310, 58%, 25%)
HSVhsv(310, 74%, 40%)
CMYKcmyk(0%, 73.5%, 11.8%, 60%)
CIE-LABlab(24.79, 40.70, -20.22)
CIE-LCHlch(24.79, 45.44, 333.58°)
OKLaboklab(36.88% 0.1186 -0.0552)
OKLCHoklch(36.88% 0.131 335)
XYZxyz(7.7170, 4.3475, 10.1036)
Luminance0.0435 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B5A #1B6627
analogous
#4C1B66 #661B5A #661B34
triadic
#661B5A #5A661B #1B5A66
tetradic
#661B5A #664C1B #1B6627 #1B3466
square
#661B5A #664C1B #1B6627 #1B3466
split-complementary
#661B5A #34661B #1B664C
monochromatic
#180615 #360E2F #661B5A #962885 #C735AF

Accessibility & contrast

On white

11.23
#661B5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#661B5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B5A
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B5A#FFFFFF#000000##FFFFFF
##661B5A1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B345C
Deuteranopia (green-blind)
#343F58
Tritanopia (blue-blind)
#6B2138
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #661b5a;
/* rgb */ color: rgb(102, 27, 90);
/* oklch */ color: oklch(36.9% 0.131 335.0);
Tailwind
colors: {
  custom: {
    50: '#945f89',
    500: '#661b5a',
    950: '#000000',
  },
}
SCSS
$custom: #661b5a;
$custom-light: #945f89;
$custom-dark: #000000;
JSON
{
  "hex": "#661b5a",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 90
  },
  "hsl": {
    "h": 309.6,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36884,
    "c": 0.13081,
    "h": 335
  },
  "luminance": 0.04347
}

Semantic roles & 50–950 ramp

primary
#661B5A
secondary
#419B50
accent
#E15F46
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050B
muted
#7E797C

Preview Lab

Preview with #661B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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