#661A72#661A72

#661A72 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.3% C 0.153 H 321.8°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#661A72
RGBrgb(102, 26, 114)
HSLhsl(292, 63%, 27%)
HSVhsv(292, 77%, 45%)
CMYKcmyk(10.5%, 77.2%, 0%, 55.3%)
CIE-LABlab(26.10, 45.48, -33.77)
CIE-LCHlch(26.10, 56.65, 323.41°)
OKLaboklab(38.29% 0.1201 -0.0945)
OKLCHoklch(38.29% 0.153 321.8)
XYZxyz(8.8858, 4.7790, 16.3707)
Luminance0.0478 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A72 #26721A
analogous
#3A1A72 #661A72 #721A52
triadic
#661A72 #72661A #1A7266
tetradic
#661A72 #723A1A #26721A #1A5272
square
#661A72 #723A1A #26721A #1A5272
split-complementary
#661A72 #52721A #1A723A
monochromatic
#160619 #390F40 #661A72 #9325A4 #BC35D1

Accessibility & contrast

On white

10.74
#661A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#661A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A72
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A72#FFFFFF#000000##FFFFFF
##661A721.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#264170
Tritanopia (blue-blind)
#672B45
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #661a72;
/* rgb */ color: rgb(102, 26, 114);
/* oklch */ color: oklch(38.3% 0.153 321.8);
Tailwind
colors: {
  custom: {
    50: '#955f9b',
    500: '#661a72',
    950: '#000000',
  },
}
SCSS
$custom: #661a72;
$custom-light: #955f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#661a72",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 114
  },
  "hsl": {
    "h": 291.818,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38288,
    "c": 0.15279,
    "h": 321.8
  },
  "luminance": 0.04778
}

Semantic roles & 50–950 ramp

primary
#661A72
secondary
#4FA741
accent
#E64258
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661A72

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

Preview Lab → · Contrast checker → · Palette generator →

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