#661B5B#661B5B

#661B5B is a dark, vivid purple. Relative luminance 0.044; OKLCH L 36.9% C 0.132 H 334.4°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#661B5B
RGBrgb(102, 27, 91)
HSLhsl(309, 58%, 25%)
HSVhsv(309, 74%, 40%)
CMYKcmyk(0%, 73.5%, 10.8%, 60%)
CIE-LABlab(24.84, 40.86, -20.80)
CIE-LCHlch(24.84, 45.85, 333.03°)
OKLaboklab(36.94% 0.1187 -0.0568)
OKLCHoklch(36.94% 0.132 334.4)
XYZxyz(7.7598, 4.3646, 10.3293)
Luminance0.0436 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B5B #1B6626
analogous
#4B1B66 #661B5B #661B35
triadic
#661B5B #5B661B #1B5B66
tetradic
#661B5B #664B1B #1B6626 #1B3566
square
#661B5B #664B1B #1B6626 #1B3566
split-complementary
#661B5B #35661B #1B664B
monochromatic
#180616 #360E30 #661B5B #962886 #C735B1

Accessibility & contrast

On white

11.21
#661B5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661B5B
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B5B#FFFFFF#000000##FFFFFF
##661B5B1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661b5b;
/* rgb */ color: rgb(102, 27, 91);
/* oklch */ color: oklch(36.9% 0.132 334.4);
Tailwind
colors: {
  custom: {
    50: '#945f89',
    500: '#661b5b',
    950: '#000000',
  },
}
SCSS
$custom: #661b5b;
$custom-light: #945f89;
$custom-dark: #000000;
JSON
{
  "hex": "#661b5b",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 91
  },
  "hsl": {
    "h": 308.8,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3694,
    "c": 0.13162,
    "h": 334.4
  },
  "luminance": 0.04364
}

Semantic roles & 50–950 ramp

primary
#661B5B
secondary
#419B4F
accent
#E15D46
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0D050B
muted
#7E797C

Preview Lab

Preview with #661B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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