#661A6B#661A6B

#661A6B is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.8% C 0.147 H 325.3°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#661A6B
RGBrgb(102, 26, 107)
HSLhsl(296, 61%, 26%)
HSVhsv(296, 76%, 42%)
CMYKcmyk(4.7%, 75.7%, 0%, 58%)
CIE-LABlab(25.64, 44.13, -29.99)
CIE-LCHlch(25.64, 53.36, 325.80°)
OKLaboklab(37.82% 0.1205 -0.0834)
OKLCHoklch(37.82% 0.147 325.3)
XYZxyz(8.5025, 4.6257, 14.3521)
Luminance0.0462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A6B #1F6B1A
analogous
#3D1A6B #661A6B #6B1A47
triadic
#661A6B #6B661A #1A6B66
tetradic
#661A6B #6B3D1A #1F6B1A #1A476B
square
#661A6B #6B3D1A #1F6B1A #1A476B
split-complementary
#661A6B #476B1A #1A6B3D
monochromatic
#170619 #370E3A #661A6B #95269C #C432CD

Accessibility & contrast

On white

10.91
#661A6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661A6B
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A6B#FFFFFF#000000##FFFFFF
##661A6B1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661a6b;
/* rgb */ color: rgb(102, 26, 107);
/* oklch */ color: oklch(37.8% 0.147 325.3);
Tailwind
colors: {
  custom: {
    50: '#955f96',
    500: '#661a6b',
    950: '#000000',
  },
}
SCSS
$custom: #661a6b;
$custom-light: #955f96;
$custom-dark: #000000;
JSON
{
  "hex": "#661a6b",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 107
  },
  "hsl": {
    "h": 296.296,
    "s": 60.902,
    "l": 26.078
  },
  "oklch": {
    "l": 0.37818,
    "c": 0.14653,
    "h": 325.3
  },
  "luminance": 0.04625
}

Semantic roles & 50–950 ramp

primary
#661A6B
secondary
#46A040
accent
#E4444E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #661A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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