#661C9C#661C9C

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

Color values

HEX#661C9C
RGBrgb(102, 28, 156)
HSLhsl(275, 70%, 36%)
HSVhsv(275, 82%, 61%)
CMYKcmyk(34.6%, 82.1%, 0%, 38.8%)
CIE-LABlab(29.55, 53.75, -54.42)
CIE-LCHlch(29.55, 76.48, 314.64°)
OKLaboklab(41.73% 0.1101 -0.1551)
OKLCHoklch(41.73% 0.19 305.4)
XYZxyz(11.8941, 6.0557, 31.9883)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C9C #529C1C
analogous
#261C9C #661C9C #9C1C92
triadic
#661C9C #9C661C #1C9C66
tetradic
#661C9C #9C261C #529C1C #1C929C
square
#661C9C #9C261C #529C1C #1C929C
split-complementary
#661C9C #929C1C #1C9C26
monochromatic
#220934 #441368 #661C9C #8825D0 #A452E0

Accessibility & contrast

On white

9.50
#661C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661C9C
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C9C#FFFFFF#000000##FFFFFF
##661C9C1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00469A
Tritanopia (blue-blind)
#5C3F5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #661c9c;
/* rgb */ color: rgb(102, 28, 156);
/* oklch */ color: oklch(41.7% 0.190 305.4);
Tailwind
colors: {
  custom: {
    50: '#9763ba',
    500: '#661c9c',
    950: '#000000',
  },
}
SCSS
$custom: #661c9c;
$custom-light: #9763ba;
$custom-dark: #000000;
JSON
{
  "hex": "#661c9c",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 156
  },
  "hsl": {
    "h": 274.688,
    "s": 69.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41728,
    "c": 0.19019,
    "h": 305.4
  },
  "luminance": 0.06056
}

Semantic roles & 50–950 ramp

primary
#661C9C
secondary
#81C351
accent
#EC3B86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #661C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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