#661B8A#661B8A

#661B8A is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.2% C 0.174 H 311.6°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#661B8A
RGBrgb(102, 27, 138)
HSLhsl(281, 67%, 32%)
HSVhsv(281, 80%, 54%)
CMYKcmyk(26.1%, 80.4%, 0%, 45.9%)
CIE-LABlab(27.96, 50.09, -45.91)
CIE-LCHlch(27.96, 67.95, 317.49°)
OKLaboklab(40.16% 0.1155 -0.1301)
OKLCHoklch(40.16% 0.174 311.6)
XYZxyz(10.4580, 5.4439, 24.5397)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B8A #3F8A1B
analogous
#2F1B8A #661B8A #8A1B76
triadic
#661B8A #8A661B #1B8A66
tetradic
#661B8A #8A2F1B #3F8A1B #1B768A
square
#661B8A #8A2F1B #3F8A1B #1B768A
split-complementary
#661B8A #768A1B #1B8A2F
monochromatic
#1A0724 #401157 #661B8A #8C25BD #AA45DB

Accessibility & contrast

On white

10.05
#661B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#661B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B8A
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B8A#FFFFFF#000000##FFFFFF
##661B8A1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#014388
Tritanopia (blue-blind)
#613653
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #661b8a;
/* rgb */ color: rgb(102, 27, 138);
/* oklch */ color: oklch(40.2% 0.174 311.6);
Tailwind
colors: {
  custom: {
    50: '#9661ad',
    500: '#661b8a',
    950: '#000000',
  },
}
SCSS
$custom: #661b8a;
$custom-light: #9661ad;
$custom-dark: #000000;
JSON
{
  "hex": "#661b8a",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 280.541,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4016,
    "c": 0.17396,
    "h": 311.6
  },
  "luminance": 0.05444
}

Semantic roles & 50–950 ramp

primary
#661B8A
secondary
#6BBC45
accent
#EA3E76
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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