#661D8A#661D8A

#661D8A is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.172 H 311.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#661D8A
RGBrgb(102, 29, 138)
HSLhsl(280, 65%, 33%)
HSVhsv(280, 79%, 54%)
CMYKcmyk(26.1%, 79%, 0%, 45.9%)
CIE-LABlab(28.22, 49.36, -45.50)
CIE-LCHlch(28.22, 67.13, 317.33°)
OKLaboklab(40.34% 0.1138 -0.1289)
OKLCHoklch(40.34% 0.172 311.4)
XYZxyz(10.5054, 5.5388, 24.5555)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661D8A #418A1D
analogous
#2F1D8A #661D8A #8A1D78
triadic
#661D8A #8A661D #1D8A66
tetradic
#661D8A #8A2F1D #418A1D #1D788A
square
#661D8A #8A2F1D #418A1D #1D788A
split-complementary
#661D8A #788A1D #1D8A2F
monochromatic
#1B0825 #411257 #661D8A #8B28BD #A949D9

Accessibility & contrast

On white

9.96
#661D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#661D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661D8A
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661D8A#FFFFFF#000000##FFFFFF
##661D8A1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#054488
Tritanopia (blue-blind)
#613753
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #661d8a;
/* rgb */ color: rgb(102, 29, 138);
/* oklch */ color: oklch(40.3% 0.172 311.4);
Tailwind
colors: {
  custom: {
    50: '#9662ad',
    500: '#661d8a',
    950: '#000000',
  },
}
SCSS
$custom: #661d8a;
$custom-light: #9662ad;
$custom-dark: #000000;
JSON
{
  "hex": "#661d8a",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 280.183,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40339,
    "c": 0.17191,
    "h": 311.4
  },
  "luminance": 0.05538
}

Semantic roles & 50–950 ramp

primary
#661D8A
secondary
#6EBB48
accent
#E84077
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #661D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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