#661C96#661C96

#661C96 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.184 H 307.3°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#661C96
RGBrgb(102, 28, 150)
HSLhsl(276, 69%, 35%)
HSVhsv(276, 81%, 59%)
CMYKcmyk(32%, 81.3%, 0%, 41.2%)
CIE-LABlab(29.05, 52.39, -51.56)
CIE-LCHlch(29.05, 73.51, 315.45°)
OKLaboklab(41.22% 0.1118 -0.1467)
OKLCHoklch(41.22% 0.184 307.3)
XYZxyz(11.3986, 5.8574, 29.3784)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C96 #4C961C
analogous
#291C96 #661C96 #961C89
triadic
#661C96 #96661C #1C9666
tetradic
#661C96 #96291C #4C961C #1C8996
square
#661C96 #96291C #4C961C #1C8996
split-complementary
#661C96 #89961C #1C9629
monochromatic
#20092F #431262 #661C96 #8926CA #A64EDE

Accessibility & contrast

On white

9.67
#661C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661C96
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C96#FFFFFF#000000##FFFFFF
##661C961.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661c96;
/* rgb */ color: rgb(102, 28, 150);
/* oklch */ color: oklch(41.2% 0.184 307.3);
Tailwind
colors: {
  custom: {
    50: '#9762b6',
    500: '#661c96',
    950: '#000000',
  },
}
SCSS
$custom: #661c96;
$custom-light: #9762b6;
$custom-dark: #000000;
JSON
{
  "hex": "#661c96",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 276.393,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41222,
    "c": 0.18443,
    "h": 307.3
  },
  "luminance": 0.05857
}

Semantic roles & 50–950 ramp

primary
#661C96
secondary
#7BC14D
accent
#EB3C81
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661C96

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

Preview Lab → · Contrast checker → · Palette generator →

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