#661C86#661C86

#661C86 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.9% C 0.169 H 313.0°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#661C86
RGBrgb(102, 28, 134)
HSLhsl(282, 65%, 32%)
HSVhsv(282, 79%, 53%)
CMYKcmyk(23.9%, 79.1%, 0%, 47.5%)
CIE-LABlab(27.78, 48.87, -43.71)
CIE-LCHlch(27.78, 65.56, 318.19°)
OKLaboklab(39.94% 0.1154 -0.1236)
OKLCHoklch(39.94% 0.169 313)
XYZxyz(10.1971, 5.3768, 23.0503)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C86 #3C861C
analogous
#311C86 #661C86 #861C71
triadic
#661C86 #86661C #1C8666
tetradic
#661C86 #86311C #3C861C #1C7186
square
#661C86 #86311C #3C861C #1C7186
split-complementary
#661C86 #71861C #1C8631
monochromatic
#190721 #3F1153 #661C86 #8D27B9 #AB44D8

Accessibility & contrast

On white

10.12
#661C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#661C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661C86
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C86#FFFFFF#000000##FFFFFF
##661C861.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#0E4384
Tritanopia (blue-blind)
#623550
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #661c86;
/* rgb */ color: rgb(102, 28, 134);
/* oklch */ color: oklch(39.9% 0.169 313.0);
Tailwind
colors: {
  custom: {
    50: '#9661aa',
    500: '#661c86',
    950: '#000000',
  },
}
SCSS
$custom: #661c86;
$custom-light: #9661aa;
$custom-dark: #000000;
JSON
{
  "hex": "#661c86",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 281.887,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39936,
    "c": 0.16914,
    "h": 313
  },
  "luminance": 0.05377
}

Semantic roles & 50–950 ramp

primary
#661C86
secondary
#68B945
accent
#E83F72
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661C86

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

Preview Lab → · Contrast checker → · Palette generator →

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