#661C9B#661C9B

#661C9B is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.189 H 305.7°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#661C9B
RGBrgb(102, 28, 155)
HSLhsl(275, 69%, 36%)
HSVhsv(275, 82%, 61%)
CMYKcmyk(34.2%, 81.9%, 0%, 39.2%)
CIE-LABlab(29.47, 53.52, -53.95)
CIE-LCHlch(29.47, 75.99, 314.77°)
OKLaboklab(41.64% 0.1104 -0.1537)
OKLCHoklch(41.64% 0.189 305.7)
XYZxyz(11.8098, 6.0219, 31.5442)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C9B #519B1C
analogous
#271C9B #661C9B #9B1C90
triadic
#661C9B #9B661C #1C9B66
tetradic
#661C9B #9B271C #519B1C #1C909B
square
#661C9B #9B271C #519B1C #1C909B
split-complementary
#661C9B #909B1C #1C9B27
monochromatic
#220933 #441367 #661C9B #8825CF #A452E0

Accessibility & contrast

On white

9.53
#661C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#661C9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661C9B
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C9B#FFFFFF#000000##FFFFFF
##661C9B1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#5C3E5D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #661c9b;
/* rgb */ color: rgb(102, 28, 155);
/* oklch */ color: oklch(41.6% 0.189 305.7);
Tailwind
colors: {
  custom: {
    50: '#9762b9',
    500: '#661c9b',
    950: '#000000',
  },
}
SCSS
$custom: #661c9b;
$custom-light: #9762b9;
$custom-dark: #000000;
JSON
{
  "hex": "#661c9b",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 155
  },
  "hsl": {
    "h": 274.961,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41643,
    "c": 0.18923,
    "h": 305.7
  },
  "luminance": 0.06022
}

Semantic roles & 50–950 ramp

primary
#661C9B
secondary
#80C350
accent
#EC3C85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #661C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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