#661C8C#661C8C

#661C8C is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.4% C 0.175 H 310.8°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#661C8C
RGBrgb(102, 28, 140)
HSLhsl(280, 67%, 33%)
HSVhsv(280, 80%, 55%)
CMYKcmyk(27.1%, 80%, 0%, 45.1%)
CIE-LABlab(28.24, 50.17, -46.70)
CIE-LCHlch(28.24, 68.54, 317.05°)
OKLaboklab(40.41% 0.1142 -0.1324)
OKLCHoklch(40.41% 0.175 310.8)
XYZxyz(10.6275, 5.5490, 25.3171)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C8C #428C1C
analogous
#2E1C8C #661C8C #8C1C7A
triadic
#661C8C #8C661C #1C8C66
tetradic
#661C8C #8C2E1C #428C1C #1C7A8C
square
#661C8C #8C2E1C #428C1C #1C7A8C
split-complementary
#661C8C #7A8C1C #1C8C2E
monochromatic
#1C0826 #411259 #661C8C #8B26BF #A948DA

Accessibility & contrast

On white

9.95
#661C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#661C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661C8C
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C8C#FFFFFF#000000##FFFFFF
##661C8C1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#613854
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #661c8c;
/* rgb */ color: rgb(102, 28, 140);
/* oklch */ color: oklch(40.4% 0.175 310.8);
Tailwind
colors: {
  custom: {
    50: '#9662ae',
    500: '#661c8c',
    950: '#000000',
  },
}
SCSS
$custom: #661c8c;
$custom-light: #9662ae;
$custom-dark: #000000;
JSON
{
  "hex": "#661c8c",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 279.643,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40407,
    "c": 0.17485,
    "h": 310.8
  },
  "luminance": 0.05549
}

Semantic roles & 50–950 ramp

primary
#661C8C
secondary
#6FBC48
accent
#EA3E78
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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