#661E85#661E85

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

Color values

HEX#661E85
RGBrgb(102, 30, 133)
HSLhsl(282, 63%, 32%)
HSVhsv(282, 77%, 52%)
CMYKcmyk(23.3%, 77.4%, 0%, 47.8%)
CIE-LABlab(27.97, 47.89, -42.78)
CIE-LCHlch(27.97, 64.21, 318.23°)
OKLaboklab(40.05% 0.1138 -0.1209)
OKLCHoklch(40.05% 0.166 313.3)
XYZxyz(10.1767, 5.4471, 22.7011)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E85 #3D851E
analogous
#331E85 #661E85 #851E71
triadic
#661E85 #85661E #1E8566
tetradic
#661E85 #85331E #3D851E #1E7185
square
#661E85 #85331E #3D851E #1E7185
split-complementary
#661E85 #71851E #1E8533
monochromatic
#190721 #401353 #661E85 #8C29B7 #AB48D6

Accessibility & contrast

On white

10.05
#661E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661E85
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E85#FFFFFF#000000##FFFFFF
##661E851.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#134483
Tritanopia (blue-blind)
#633650
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #661e85;
/* rgb */ color: rgb(102, 30, 133);
/* oklch */ color: oklch(40.0% 0.166 313.3);
Tailwind
colors: {
  custom: {
    50: '#9562a9',
    500: '#661e85',
    950: '#000000',
  },
}
SCSS
$custom: #661e85;
$custom-light: #9562a9;
$custom-dark: #000000;
JSON
{
  "hex": "#661e85",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 281.942,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40047,
    "c": 0.166,
    "h": 313.3
  },
  "luminance": 0.05447
}

Semantic roles & 50–950 ramp

primary
#661E85
secondary
#69B847
accent
#E64273
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #661E85

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

Preview Lab → · Contrast checker → · Palette generator →

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