#661C9A#661C9A

#661C9A is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.188 H 306.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#661C9A
RGBrgb(102, 28, 154)
HSLhsl(275, 69%, 36%)
HSVhsv(275, 82%, 60%)
CMYKcmyk(33.8%, 81.8%, 0%, 39.6%)
CIE-LABlab(29.38, 53.29, -53.47)
CIE-LCHlch(29.38, 75.49, 314.90°)
OKLaboklab(41.56% 0.1107 -0.1523)
OKLCHoklch(41.56% 0.188 306)
XYZxyz(11.7262, 5.9885, 31.1037)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C9A #509A1C
analogous
#271C9A #661C9A #9A1C8F
triadic
#661C9A #9A661C #1C9A66
tetradic
#661C9A #9A271C #509A1C #1C8F9A
square
#661C9A #9A271C #509A1C #1C8F9A
split-complementary
#661C9A #8F9A1C #1C9A27
monochromatic
#210932 #441366 #661C9A #8825CE #A551DF

Accessibility & contrast

On white

9.56
#661C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#661C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661C9A
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C9A#FFFFFF#000000##FFFFFF
##661C9A1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#5C3E5C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #661c9a;
/* rgb */ color: rgb(102, 28, 154);
/* oklch */ color: oklch(41.6% 0.188 306.0);
Tailwind
colors: {
  custom: {
    50: '#9762b9',
    500: '#661c9a',
    950: '#000000',
  },
}
SCSS
$custom: #661c9a;
$custom-light: #9762b9;
$custom-dark: #000000;
JSON
{
  "hex": "#661c9a",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 154
  },
  "hsl": {
    "h": 275.238,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41558,
    "c": 0.18828,
    "h": 306
  },
  "luminance": 0.05988
}

Semantic roles & 50–950 ramp

primary
#661C9A
secondary
#7FC250
accent
#EC3C85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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