#661A6D#661A6D

#661A6D is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.0% C 0.148 H 324.3°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#661A6D
RGBrgb(102, 26, 109)
HSLhsl(295, 61%, 26%)
HSVhsv(295, 76%, 43%)
CMYKcmyk(6.4%, 76.1%, 0%, 57.3%)
CIE-LABlab(25.77, 44.51, -31.08)
CIE-LCHlch(25.77, 54.29, 325.08°)
OKLaboklab(37.95% 0.1204 -0.0866)
OKLCHoklch(37.95% 0.148 324.3)
XYZxyz(8.6090, 4.6682, 14.9126)
Luminance0.0467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A6D #216D1A
analogous
#3D1A6D #661A6D #6D1A4B
triadic
#661A6D #6D661A #1A6D66
tetradic
#661A6D #6D3D1A #216D1A #1A4B6D
square
#661A6D #6D3D1A #216D1A #1A4B6D
split-complementary
#661A6D #4B6D1A #1A6D3D
monochromatic
#170619 #380E3C #661A6D #94269E #C133CE

Accessibility & contrast

On white

10.86
#661A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661A6D
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A6D#FFFFFF#000000##FFFFFF
##661A6D1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00376F
Deuteranopia (green-blind)
#2A406B
Tritanopia (blue-blind)
#682942
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #661a6d;
/* rgb */ color: rgb(102, 26, 109);
/* oklch */ color: oklch(38.0% 0.148 324.3);
Tailwind
colors: {
  custom: {
    50: '#955f97',
    500: '#661a6d',
    950: '#000000',
  },
}
SCSS
$custom: #661a6d;
$custom-light: #955f97;
$custom-dark: #000000;
JSON
{
  "hex": "#661a6d",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 109
  },
  "hsl": {
    "h": 294.94,
    "s": 61.481,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3795,
    "c": 0.1483,
    "h": 324.3
  },
  "luminance": 0.04668
}

Semantic roles & 50–950 ramp

primary
#661A6D
secondary
#49A241
accent
#E54351
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #661A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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