#661B6B#661B6B

#661B6B is a dark, vivid purple. Relative luminance 0.047; OKLCH L 37.9% C 0.145 H 325.3°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#661B6B
RGBrgb(102, 27, 107)
HSLhsl(296, 60%, 26%)
HSVhsv(296, 75%, 42%)
CMYKcmyk(4.7%, 74.8%, 0%, 58%)
CIE-LABlab(25.78, 43.75, -29.78)
CIE-LCHlch(25.78, 52.92, 325.76°)
OKLaboklab(37.91% 0.1194 -0.0828)
OKLCHoklch(37.91% 0.145 325.3)
XYZxyz(8.5251, 4.6707, 14.3596)
Luminance0.0467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B6B #206B1B
analogous
#3E1B6B #661B6B #6B1B48
triadic
#661B6B #6B661B #1B6B66
tetradic
#661B6B #6B3E1B #206B1B #1B486B
square
#661B6B #6B3E1B #206B1B #1B486B
split-complementary
#661B6B #486B1B #1B6B3E
monochromatic
#170618 #370F3A #661B6B #95279C #C235CC

Accessibility & contrast

On white

10.86
#661B6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#661B6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B6B
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B6B#FFFFFF#000000##FFFFFF
##661B6B1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05376D
Deuteranopia (green-blind)
#2C4069
Tritanopia (blue-blind)
#682841
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #661b6b;
/* rgb */ color: rgb(102, 27, 107);
/* oklch */ color: oklch(37.9% 0.145 325.3);
Tailwind
colors: {
  custom: {
    50: '#956096',
    500: '#661b6b',
    950: '#000000',
  },
}
SCSS
$custom: #661b6b;
$custom-light: #956096;
$custom-dark: #000000;
JSON
{
  "hex": "#661b6b",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 107
  },
  "hsl": {
    "h": 296.25,
    "s": 59.701,
    "l": 26.275
  },
  "oklch": {
    "l": 0.37914,
    "c": 0.14531,
    "h": 325.3
  },
  "luminance": 0.0467
}

Semantic roles & 50–950 ramp

primary
#661B6B
secondary
#48A042
accent
#E3454F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #661B6B

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

Preview Lab → · Contrast checker → · Palette generator →

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