#661B88#661B88

#661B88 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.172 H 312.4°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#661B88
RGBrgb(102, 27, 136)
HSLhsl(281, 67%, 32%)
HSVhsv(281, 80%, 53%)
CMYKcmyk(25%, 80.1%, 0%, 46.7%)
CIE-LABlab(27.81, 49.66, -44.92)
CIE-LCHlch(27.81, 66.96, 317.87°)
OKLaboklab(40% 0.1159 -0.1272)
OKLCHoklch(40% 0.172 312.4)
XYZxyz(10.3145, 5.3865, 23.7841)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B88 #3D881B
analogous
#2F1B88 #661B88 #881B74
triadic
#661B88 #88661B #1B8866
tetradic
#661B88 #882F1B #3D881B #1B7488
square
#661B88 #882F1B #3D881B #1B7488
split-complementary
#661B88 #74881B #1B882F
monochromatic
#190722 #401155 #661B88 #8C25BB #AB44DA

Accessibility & contrast

On white

10.11
#661B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#661B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B88
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B88#FFFFFF#000000##FFFFFF
##661B881.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#074386
Tritanopia (blue-blind)
#623551
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #661b88;
/* rgb */ color: rgb(102, 27, 136);
/* oklch */ color: oklch(40.0% 0.172 312.4);
Tailwind
colors: {
  custom: {
    50: '#9661ab',
    500: '#661b88',
    950: '#000000',
  },
}
SCSS
$custom: #661b88;
$custom-light: #9661ab;
$custom-dark: #000000;
JSON
{
  "hex": "#661b88",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 281.284,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40003,
    "c": 0.17207,
    "h": 312.4
  },
  "luminance": 0.05386
}

Semantic roles & 50–950 ramp

primary
#661B88
secondary
#69BB44
accent
#EA3E74
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661B88

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

Preview Lab → · Contrast checker → · Palette generator →

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