#661B72#661B72

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

Color values

HEX#661B72
RGBrgb(102, 27, 114)
HSLhsl(292, 62%, 28%)
HSVhsv(292, 76%, 45%)
CMYKcmyk(10.5%, 76.3%, 0%, 55.3%)
CIE-LABlab(26.23, 45.11, -33.56)
CIE-LCHlch(26.23, 56.22, 323.35°)
OKLaboklab(38.38% 0.1191 -0.0938)
OKLCHoklch(38.38% 0.152 321.8)
XYZxyz(8.9084, 4.8240, 16.3782)
Luminance0.0482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B72 #27721B
analogous
#3A1B72 #661B72 #721B52
triadic
#661B72 #72661B #1B7266
tetradic
#661B72 #723A1B #27721B #1B5272
square
#661B72 #723A1B #27721B #1B5272
split-complementary
#661B72 #52721B #1B723A
monochromatic
#160619 #3A0F41 #661B72 #9227A3 #BB38D0

Accessibility & contrast

On white

10.69
#661B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661B72
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B72#FFFFFF#000000##FFFFFF
##661B721.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661b72;
/* rgb */ color: rgb(102, 27, 114);
/* oklch */ color: oklch(38.4% 0.152 321.8);
Tailwind
colors: {
  custom: {
    50: '#95609b',
    500: '#661b72',
    950: '#000000',
  },
}
SCSS
$custom: #661b72;
$custom-light: #95609b;
$custom-dark: #000000;
JSON
{
  "hex": "#661b72",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 291.724,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38382,
    "c": 0.15161,
    "h": 321.8
  },
  "luminance": 0.04824
}

Semantic roles & 50–950 ramp

primary
#661B72
secondary
#50A742
accent
#E54359
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661B72

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

Preview Lab → · Contrast checker → · Palette generator →

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