#661C8D#661C8D

#661C8D is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.176 H 310.4°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#661C8D
RGBrgb(102, 28, 141)
HSLhsl(279, 67%, 33%)
HSVhsv(279, 80%, 55%)
CMYKcmyk(27.7%, 80.1%, 0%, 44.7%)
CIE-LABlab(28.32, 50.39, -47.19)
CIE-LCHlch(28.32, 69.04, 316.88°)
OKLaboklab(40.49% 0.114 -0.1338)
OKLCHoklch(40.49% 0.176 310.4)
XYZxyz(10.7015, 5.5786, 25.7072)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C8D #438D1C
analogous
#2D1C8D #661C8D #8D1C7B
triadic
#661C8D #8D661C #1C8D66
tetradic
#661C8D #8D2D1C #438D1C #1C7B8D
square
#661C8D #8D2D1C #438D1C #1C7B8D
split-complementary
#661C8D #7B8D1C #1C8D2D
monochromatic
#1C0827 #41125A #661C8D #8B26C0 #A849DB

Accessibility & contrast

On white

9.93
#661C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#661C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661C8D
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C8D#FFFFFF#000000##FFFFFF
##661C8D1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#613854
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #661c8d;
/* rgb */ color: rgb(102, 28, 141);
/* oklch */ color: oklch(40.5% 0.176 310.4);
Tailwind
colors: {
  custom: {
    50: '#9662af',
    500: '#661c8d',
    950: '#000000',
  },
}
SCSS
$custom: #661c8d;
$custom-light: #9662af;
$custom-dark: #000000;
JSON
{
  "hex": "#661c8d",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 279.292,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40487,
    "c": 0.1758,
    "h": 310.4
  },
  "luminance": 0.05578
}

Semantic roles & 50–950 ramp

primary
#661C8D
secondary
#70BD48
accent
#EA3E79
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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