#661B97#661B97

#661B97 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.2% C 0.186 H 307.1°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#661B97
RGBrgb(102, 27, 151)
HSLhsl(276, 70%, 35%)
HSVhsv(276, 82%, 59%)
CMYKcmyk(32.5%, 82.1%, 0%, 40.8%)
CIE-LABlab(29.01, 52.96, -52.24)
CIE-LCHlch(29.01, 74.39, 315.39°)
OKLaboklab(41.22% 0.1123 -0.1487)
OKLCHoklch(41.22% 0.186 307.1)
XYZxyz(11.4561, 5.8432, 29.7965)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B97 #4C971B
analogous
#281B97 #661B97 #971B8A
triadic
#661B97 #97661B #1B9766
tetradic
#661B97 #97281B #4C971B #1B8A97
square
#661B97 #97281B #4C971B #1B8A97
split-complementary
#661B97 #8A971B #1B9728
monochromatic
#20082F #431263 #661B97 #8924CB #A64DDF

Accessibility & contrast

On white

9.68
#661B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#661B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B97
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B97#FFFFFF#000000##FFFFFF
##661B971.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#5D3C5A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #661b97;
/* rgb */ color: rgb(102, 27, 151);
/* oklch */ color: oklch(41.2% 0.186 307.1);
Tailwind
colors: {
  custom: {
    50: '#9762b6',
    500: '#661b97',
    950: '#000000',
  },
}
SCSS
$custom: #661b97;
$custom-light: #9762b6;
$custom-dark: #000000;
JSON
{
  "hex": "#661b97",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 276.29,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41222,
    "c": 0.18631,
    "h": 307.1
  },
  "luminance": 0.05843
}

Semantic roles & 50–950 ramp

primary
#661B97
secondary
#7BC14C
accent
#EC3B81
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661B97

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

Preview Lab → · Contrast checker → · Palette generator →

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