#661B96#661B96

#661B96 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.185 H 307.4°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#661B96
RGBrgb(102, 27, 150)
HSLhsl(277, 69%, 35%)
HSVhsv(277, 82%, 59%)
CMYKcmyk(32%, 82%, 0%, 41.2%)
CIE-LABlab(28.93, 52.74, -51.76)
CIE-LCHlch(28.93, 73.89, 315.54°)
OKLaboklab(41.14% 0.1126 -0.1473)
OKLCHoklch(41.14% 0.185 307.4)
XYZxyz(11.3753, 5.8108, 29.3706)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B96 #4B961B
analogous
#281B96 #661B96 #961B89
triadic
#661B96 #96661B #1B9666
tetradic
#661B96 #96281B #4B961B #1B8996
square
#661B96 #96281B #4B961B #1B8996
split-complementary
#661B96 #89961B #1B9628
monochromatic
#1F082E #431262 #661B96 #8924CA #A64DDF

Accessibility & contrast

On white

9.71
#661B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#661B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B96
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B96#FFFFFF#000000##FFFFFF
##661B961.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#5E3C59
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #661b96;
/* rgb */ color: rgb(102, 27, 150);
/* oklch */ color: oklch(41.1% 0.185 307.4);
Tailwind
colors: {
  custom: {
    50: '#9762b6',
    500: '#661b96',
    950: '#000000',
  },
}
SCSS
$custom: #661b96;
$custom-light: #9762b6;
$custom-dark: #000000;
JSON
{
  "hex": "#661b96",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 150
  },
  "hsl": {
    "h": 276.585,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41138,
    "c": 0.18536,
    "h": 307.4
  },
  "luminance": 0.05811
}

Semantic roles & 50–950 ramp

primary
#661B96
secondary
#7AC14C
accent
#EC3B80
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661B96

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

Preview Lab → · Contrast checker → · Palette generator →

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