#661A88#661A88

#661A88 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.9% C 0.173 H 312.4°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#661A88
RGBrgb(102, 26, 136)
HSLhsl(281, 68%, 32%)
HSVhsv(281, 81%, 53%)
CMYKcmyk(25%, 80.9%, 0%, 46.7%)
CIE-LABlab(27.69, 50.02, -45.12)
CIE-LCHlch(27.69, 67.36, 317.95°)
OKLaboklab(39.92% 0.1168 -0.1277)
OKLCHoklch(39.92% 0.173 312.4)
XYZxyz(10.2920, 5.3414, 23.7766)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A88 #3C881A
analogous
#2F1A88 #661A88 #881A73
triadic
#661A88 #88661A #1A8866
tetradic
#661A88 #882F1A #3C881A #1A7388
square
#661A88 #882F1A #3C881A #1A7388
split-complementary
#661A88 #73881A #1A882F
monochromatic
#190621 #3F1055 #661A88 #8D24BB #AB42DB

Accessibility & contrast

On white

10.15
#661A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#661A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A88
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A88#FFFFFF#000000##FFFFFF
##661A881.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661a88;
/* rgb */ color: rgb(102, 26, 136);
/* oklch */ color: oklch(39.9% 0.173 312.4);
Tailwind
colors: {
  custom: {
    50: '#9661ab',
    500: '#661a88',
    950: '#000000',
  },
}
SCSS
$custom: #661a88;
$custom-light: #9661ab;
$custom-dark: #000000;
JSON
{
  "hex": "#661a88",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 136
  },
  "hsl": {
    "h": 281.455,
    "s": 67.901,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39917,
    "c": 0.17308,
    "h": 312.4
  },
  "luminance": 0.05341
}

Semantic roles & 50–950 ramp

primary
#661A88
secondary
#68BB43
accent
#EB3D73
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661A88

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

Preview Lab → · Contrast checker → · Palette generator →

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