#661D9B#661D9B

#661D9B is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.188 H 305.6°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#661D9B
RGBrgb(102, 29, 155)
HSLhsl(275, 68%, 36%)
HSVhsv(275, 81%, 61%)
CMYKcmyk(34.2%, 81.3%, 0%, 39.2%)
CIE-LABlab(29.59, 53.17, -53.75)
CIE-LCHlch(29.59, 75.60, 314.69°)
OKLaboklab(41.73% 0.1096 -0.1531)
OKLCHoklch(41.73% 0.188 305.6)
XYZxyz(11.8339, 6.0702, 31.5522)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661D9B #529B1D
analogous
#271D9B #661D9B #9B1D91
triadic
#661D9B #9B661D #1D9B66
tetradic
#661D9B #9B271D #529B1D #1D919B
square
#661D9B #9B271D #529B1D #1D919B
split-complementary
#661D9B #919B1D #1D9B27
monochromatic
#220A34 #441367 #661D9B #8827CF #A453DF

Accessibility & contrast

On white

9.49
#661D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#661D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661D9B
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661D9B#FFFFFF#000000##FFFFFF
##661D9B1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#5C3F5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #661d9b;
/* rgb */ color: rgb(102, 29, 155);
/* oklch */ color: oklch(41.7% 0.188 305.6);
Tailwind
colors: {
  custom: {
    50: '#9763b9',
    500: '#661d9b',
    950: '#000000',
  },
}
SCSS
$custom: #661d9b;
$custom-light: #9763b9;
$custom-dark: #000000;
JSON
{
  "hex": "#661d9b",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 155
  },
  "hsl": {
    "h": 274.762,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41727,
    "c": 0.18831,
    "h": 305.6
  },
  "luminance": 0.0607
}

Semantic roles & 50–950 ramp

primary
#661D9B
secondary
#81C252
accent
#EB3C86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #661D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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