#661B94#661B94

#661B94 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 41.0% C 0.183 H 308.1°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#661B94
RGBrgb(102, 27, 148)
HSLhsl(277, 69%, 34%)
HSVhsv(277, 82%, 58%)
CMYKcmyk(31.1%, 81.8%, 0%, 42%)
CIE-LABlab(28.76, 52.29, -50.80)
CIE-LCHlch(28.76, 72.90, 315.83°)
OKLaboklab(40.97% 0.1131 -0.1444)
OKLCHoklch(40.97% 0.183 308.1)
XYZxyz(11.2156, 5.7469, 28.5297)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B94 #49941B
analogous
#2A1B94 #661B94 #941B86
triadic
#661B94 #94661B #1B9466
tetradic
#661B94 #942A1B #49941B #1B8694
square
#661B94 #942A1B #49941B #1B8694
split-complementary
#661B94 #86941B #1B942A
monochromatic
#1F082C #421260 #661B94 #8A24C8 #A64BDE

Accessibility & contrast

On white

9.77
#661B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#661B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B94
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B94#FFFFFF#000000##FFFFFF
##661B941.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#5E3B58
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #661b94;
/* rgb */ color: rgb(102, 27, 148);
/* oklch */ color: oklch(41.0% 0.183 308.1);
Tailwind
colors: {
  custom: {
    50: '#9762b4',
    500: '#661b94',
    950: '#000000',
  },
}
SCSS
$custom: #661b94;
$custom-light: #9762b4;
$custom-dark: #000000;
JSON
{
  "hex": "#661b94",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 148
  },
  "hsl": {
    "h": 277.19,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40972,
    "c": 0.18345,
    "h": 308.1
  },
  "luminance": 0.05747
}

Semantic roles & 50–950 ramp

primary
#661B94
secondary
#77C04B
accent
#EC3C7F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661B94

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

Preview Lab → · Contrast checker → · Palette generator →

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