#661C85#661C85

#661C85 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.9% C 0.168 H 313.4°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#661C85
RGBrgb(102, 28, 133)
HSLhsl(282, 65%, 32%)
HSVhsv(282, 79%, 52%)
CMYKcmyk(23.3%, 78.9%, 0%, 47.8%)
CIE-LABlab(27.71, 48.65, -43.21)
CIE-LCHlch(27.71, 65.07, 318.39°)
OKLaboklab(39.86% 0.1156 -0.1221)
OKLCHoklch(39.86% 0.168 313.4)
XYZxyz(10.1276, 5.3491, 22.6847)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C85 #3B851C
analogous
#321C85 #661C85 #851C70
triadic
#661C85 #85661C #1C8566
tetradic
#661C85 #85321C #3B851C #1C7085
square
#661C85 #85321C #3B851C #1C7085
split-complementary
#661C85 #70851C #1C8532
monochromatic
#180720 #3F1152 #661C85 #8D27B8 #AC44D8

Accessibility & contrast

On white

10.15
#661C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#661C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661C85
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C85#FFFFFF#000000##FFFFFF
##661C851.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#104383
Tritanopia (blue-blind)
#633550
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #661c85;
/* rgb */ color: rgb(102, 28, 133);
/* oklch */ color: oklch(39.9% 0.168 313.4);
Tailwind
colors: {
  custom: {
    50: '#9661a9',
    500: '#661c85',
    950: '#000000',
  },
}
SCSS
$custom: #661c85;
$custom-light: #9661a9;
$custom-dark: #000000;
JSON
{
  "hex": "#661c85",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 282.286,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39859,
    "c": 0.16819,
    "h": 313.4
  },
  "luminance": 0.05349
}

Semantic roles & 50–950 ramp

primary
#661C85
secondary
#67B845
accent
#E84071
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661C85

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

Preview Lab → · Contrast checker → · Palette generator →

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