#661B99#661B99

#661B99 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.4% C 0.188 H 306.4°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#661B99
RGBrgb(102, 27, 153)
HSLhsl(276, 70%, 35%)
HSVhsv(276, 82%, 60%)
CMYKcmyk(33.3%, 82.4%, 0%, 40%)
CIE-LABlab(29.18, 53.41, -53.19)
CIE-LCHlch(29.18, 75.38, 315.12°)
OKLaboklab(41.39% 0.1117 -0.1515)
OKLCHoklch(41.39% 0.188 306.4)
XYZxyz(11.6199, 5.9087, 30.6592)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B99 #4E991B
analogous
#271B99 #661B99 #991B8D
triadic
#661B99 #99661B #1B9966
tetradic
#661B99 #99271B #4E991B #1B8D99
square
#661B99 #99271B #4E991B #1B8D99
split-complementary
#661B99 #8D991B #1B9927
monochromatic
#210931 #431265 #661B99 #8924CD #A54FE0

Accessibility & contrast

On white

9.63
#661B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#661B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B99
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B99#FFFFFF#000000##FFFFFF
##661B991.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#5D3D5B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #661b99;
/* rgb */ color: rgb(102, 27, 153);
/* oklch */ color: oklch(41.4% 0.188 306.4);
Tailwind
colors: {
  custom: {
    50: '#9762b8',
    500: '#661b99',
    950: '#000000',
  },
}
SCSS
$custom: #661b99;
$custom-light: #9762b8;
$custom-dark: #000000;
JSON
{
  "hex": "#661b99",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 153
  },
  "hsl": {
    "h": 275.714,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41391,
    "c": 0.18821,
    "h": 306.4
  },
  "luminance": 0.05909
}

Semantic roles & 50–950 ramp

primary
#661B99
secondary
#7DC24E
accent
#ED3B83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661B99

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

Preview Lab → · Contrast checker → · Palette generator →

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