#661B9A#661B9A

#661B9A is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.5% C 0.189 H 306.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#661B9A
RGBrgb(102, 27, 154)
HSLhsl(275, 70%, 35%)
HSVhsv(275, 82%, 60%)
CMYKcmyk(33.8%, 82.5%, 0%, 39.6%)
CIE-LABlab(29.27, 53.64, -53.66)
CIE-LCHlch(29.27, 75.87, 314.99°)
OKLaboklab(41.48% 0.1114 -0.1529)
OKLCHoklch(41.48% 0.189 306.1)
XYZxyz(11.7029, 5.9418, 31.0960)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B9A #4F9A1B
analogous
#261B9A #661B9A #9A1B8E
triadic
#661B9A #9A661B #1B9A66
tetradic
#661B9A #9A261B #4F9A1B #1B8E9A
square
#661B9A #9A261B #4F9A1B #1B8E9A
split-complementary
#661B9A #8E9A1B #1B9A26
monochromatic
#210932 #441266 #661B9A #8824CE #A54FE0

Accessibility & contrast

On white

9.60
#661B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#661B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B9A
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B9A#FFFFFF#000000##FFFFFF
##661B9A1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.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: #661b9a;
/* rgb */ color: rgb(102, 27, 154);
/* oklch */ color: oklch(41.5% 0.189 306.1);
Tailwind
colors: {
  custom: {
    50: '#9762b9',
    500: '#661b9a',
    950: '#000000',
  },
}
SCSS
$custom: #661b9a;
$custom-light: #9762b9;
$custom-dark: #000000;
JSON
{
  "hex": "#661b9a",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 154
  },
  "hsl": {
    "h": 275.433,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41476,
    "c": 0.18916,
    "h": 306.1
  },
  "luminance": 0.05942
}

Semantic roles & 50–950 ramp

primary
#661B9A
secondary
#7EC34E
accent
#ED3B84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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