#661A86#661A86

#661A86 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.171 H 313.2°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#661A86
RGBrgb(102, 26, 134)
HSLhsl(282, 68%, 31%)
HSVhsv(282, 81%, 53%)
CMYKcmyk(23.9%, 80.6%, 0%, 47.5%)
CIE-LABlab(27.53, 49.59, -44.12)
CIE-LCHlch(27.53, 66.37, 318.34°)
OKLaboklab(39.76% 0.1172 -0.1248)
OKLCHoklch(39.76% 0.171 313.2)
XYZxyz(10.1512, 5.2851, 23.0350)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A86 #3A861A
analogous
#301A86 #661A86 #861A70
triadic
#661A86 #86661A #1A8666
tetradic
#661A86 #86301A #3A861A #1A7086
square
#661A86 #86301A #3A861A #1A7086
split-complementary
#661A86 #70861A #1A8630
monochromatic
#18061F #3F1053 #661A86 #8D24B9 #AC40DA

Accessibility & contrast

On white

10.21
#661A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#661A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A86
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A86#FFFFFF#000000##FFFFFF
##661A861.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#0B4384
Tritanopia (blue-blind)
#623450
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #661a86;
/* rgb */ color: rgb(102, 26, 134);
/* oklch */ color: oklch(39.8% 0.171 313.2);
Tailwind
colors: {
  custom: {
    50: '#9660aa',
    500: '#661a86',
    950: '#000000',
  },
}
SCSS
$custom: #661a86;
$custom-light: #9660aa;
$custom-dark: #000000;
JSON
{
  "hex": "#661a86",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 282.222,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3976,
    "c": 0.17121,
    "h": 313.2
  },
  "luminance": 0.05285
}

Semantic roles & 50–950 ramp

primary
#661A86
secondary
#66B942
accent
#EA3D71
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661A86

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

Preview Lab → · Contrast checker → · Palette generator →

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