#661C8B#661C8B

#661C8B is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.174 H 311.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#661C8B
RGBrgb(102, 28, 139)
HSLhsl(280, 66%, 33%)
HSVhsv(280, 80%, 55%)
CMYKcmyk(26.6%, 79.9%, 0%, 45.5%)
CIE-LABlab(28.17, 49.95, -46.21)
CIE-LCHlch(28.17, 68.04, 317.23°)
OKLaboklab(40.33% 0.1144 -0.1309)
OKLCHoklch(40.33% 0.174 311.1)
XYZxyz(10.5541, 5.5196, 24.9305)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C8B #418B1C
analogous
#2E1C8B #661C8B #8B1C78
triadic
#661C8B #8B661C #1C8B66
tetradic
#661C8B #8B2E1C #418B1C #1C788B
square
#661C8B #8B2E1C #418B1C #1C788B
split-complementary
#661C8B #788B1C #1C8B2E
monochromatic
#1B0725 #411258 #661C8B #8B26BE #A947DA

Accessibility & contrast

On white

9.98
#661C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#661C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661C8B
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C8B#FFFFFF#000000##FFFFFF
##661C8B1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#004489
Tritanopia (blue-blind)
#613753
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #661c8b;
/* rgb */ color: rgb(102, 28, 139);
/* oklch */ color: oklch(40.3% 0.174 311.1);
Tailwind
colors: {
  custom: {
    50: '#9662ae',
    500: '#661c8b',
    950: '#000000',
  },
}
SCSS
$custom: #661c8b;
$custom-light: #9662ae;
$custom-dark: #000000;
JSON
{
  "hex": "#661c8b",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 280,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40327,
    "c": 0.1739,
    "h": 311.1
  },
  "luminance": 0.05519
}

Semantic roles & 50–950 ramp

primary
#661C8B
secondary
#6EBC47
accent
#E93E77
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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