#661B74#661B74

#661B74 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.5% C 0.153 H 320.8°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#661B74
RGBrgb(102, 27, 116)
HSLhsl(291, 62%, 28%)
HSVhsv(291, 77%, 45%)
CMYKcmyk(12.1%, 76.7%, 0%, 54.5%)
CIE-LABlab(26.36, 45.50, -34.62)
CIE-LCHlch(26.36, 57.18, 322.73°)
OKLaboklab(38.52% 0.1189 -0.097)
OKLCHoklch(38.52% 0.153 320.8)
XYZxyz(9.0234, 4.8701, 16.9843)
Luminance0.0487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B74 #29741B
analogous
#391B74 #661B74 #741B55
triadic
#661B74 #74661B #1B7466
tetradic
#661B74 #74391B #29741B #1B5574
square
#661B74 #74391B #29741B #1B5574
split-complementary
#661B74 #55741B #1B7439
monochromatic
#160619 #3A0F42 #661B74 #9227A6 #B939D1

Accessibility & contrast

On white

10.64
#661B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#661B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B74
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B74#FFFFFF#000000##FFFFFF
##661B741.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#254172
Tritanopia (blue-blind)
#672C46
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #661b74;
/* rgb */ color: rgb(102, 27, 116);
/* oklch */ color: oklch(38.5% 0.153 320.8);
Tailwind
colors: {
  custom: {
    50: '#95609c',
    500: '#661b74',
    950: '#000000',
  },
}
SCSS
$custom: #661b74;
$custom-light: #95609c;
$custom-dark: #000000;
JSON
{
  "hex": "#661b74",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 290.562,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3852,
    "c": 0.15344,
    "h": 320.8
  },
  "luminance": 0.0487
}

Semantic roles & 50–950 ramp

primary
#661B74
secondary
#52A942
accent
#E5425C
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661B74

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

Preview Lab → · Contrast checker → · Palette generator →

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