#661A6F#661A6F

#661A6F is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.150 H 323.3°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#661A6F
RGBrgb(102, 26, 111)
HSLhsl(294, 62%, 27%)
HSVhsv(294, 77%, 44%)
CMYKcmyk(8.1%, 76.6%, 0%, 56.5%)
CIE-LABlab(25.90, 44.90, -32.16)
CIE-LCHlch(25.90, 55.23, 324.39°)
OKLaboklab(38.08% 0.1203 -0.0898)
OKLCHoklch(38.08% 0.15 323.3)
XYZxyz(8.7179, 4.7118, 15.4861)
Luminance0.0471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A6F #236F1A
analogous
#3C1A6F #661A6F #6F1A4E
triadic
#661A6F #6F661A #1A6F66
tetradic
#661A6F #6F3C1A #236F1A #1A4E6F
square
#661A6F #6F3C1A #236F1A #1A4E6F
split-complementary
#661A6F #4E6F1A #1A6F3C
monochromatic
#170619 #380E3D #661A6F #9426A1 #BF34CF

Accessibility & contrast

On white

10.81
#661A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#661A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A6F
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A6F#FFFFFF#000000##FFFFFF
##661A6F1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#28406D
Tritanopia (blue-blind)
#682943
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #661a6f;
/* rgb */ color: rgb(102, 26, 111);
/* oklch */ color: oklch(38.1% 0.150 323.3);
Tailwind
colors: {
  custom: {
    50: '#955f99',
    500: '#661a6f',
    950: '#000000',
  },
}
SCSS
$custom: #661a6f;
$custom-light: #955f99;
$custom-dark: #000000;
JSON
{
  "hex": "#661a6f",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 111
  },
  "hsl": {
    "h": 293.647,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.38084,
    "c": 0.15009,
    "h": 323.3
  },
  "luminance": 0.04711
}

Semantic roles & 50–950 ramp

primary
#661A6F
secondary
#4BA441
accent
#E54354
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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