#661D86#661D86

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

Color values

HEX#661D86
RGBrgb(102, 29, 134)
HSLhsl(282, 64%, 32%)
HSVhsv(282, 78%, 53%)
CMYKcmyk(23.9%, 78.4%, 0%, 47.5%)
CIE-LABlab(27.91, 48.49, -43.50)
CIE-LCHlch(27.91, 65.14, 318.11°)
OKLaboklab(40.03% 0.1145 -0.123)
OKLCHoklch(40.03% 0.168 313)
XYZxyz(10.2212, 5.4251, 23.0584)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661D86 #3D861D
analogous
#311D86 #661D86 #861D72
triadic
#661D86 #86661D #1D8666
tetradic
#661D86 #86311D #3D861D #1D7286
square
#661D86 #86311D #3D861D #1D7286
split-complementary
#661D86 #72861D #1D8631
monochromatic
#190721 #401254 #661D86 #8C28B8 #AB46D7

Accessibility & contrast

On white

10.07
#661D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#661D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661D86
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661D86#FFFFFF#000000##FFFFFF
##661D861.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#104384
Tritanopia (blue-blind)
#623551
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #661d86;
/* rgb */ color: rgb(102, 29, 134);
/* oklch */ color: oklch(40.0% 0.168 313.0);
Tailwind
colors: {
  custom: {
    50: '#9662aa',
    500: '#661d86',
    950: '#000000',
  },
}
SCSS
$custom: #661d86;
$custom-light: #9662aa;
$custom-dark: #000000;
JSON
{
  "hex": "#661d86",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 281.714,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40028,
    "c": 0.16807,
    "h": 313
  },
  "luminance": 0.05425
}

Semantic roles & 50–950 ramp

primary
#661D86
secondary
#69B946
accent
#E74073
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661D86

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

Preview Lab → · Contrast checker → · Palette generator →

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