#661786#661786

#661786 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.174 H 313.4°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#661786
RGBrgb(102, 23, 134)
HSLhsl(283, 71%, 31%)
HSVhsv(283, 83%, 53%)
CMYKcmyk(23.9%, 82.8%, 0%, 47.5%)
CIE-LABlab(27.18, 50.60, -44.68)
CIE-LCHlch(27.18, 67.50, 318.55°)
OKLaboklab(39.52% 0.1197 -0.1264)
OKLCHoklch(39.52% 0.174 313.4)
XYZxyz(10.0882, 5.1591, 23.0140)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661786 #378617
analogous
#2E1786 #661786 #86176E
triadic
#661786 #866617 #178666
tetradic
#661786 #862E17 #378617 #176E86
square
#661786 #862E17 #378617 #176E86
split-complementary
#661786 #6E8617 #17862E
monochromatic
#16051E #3E0E52 #661786 #8E20BA #AE3ADD

Accessibility & contrast

On white

10.34
#661786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#661786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661786
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661786#FFFFFF#000000##FFFFFF
##6617861.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#064284
Tritanopia (blue-blind)
#63334F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661786;
/* rgb */ color: rgb(102, 23, 134);
/* oklch */ color: oklch(39.5% 0.174 313.4);
Tailwind
colors: {
  custom: {
    50: '#965faa',
    500: '#661786',
    950: '#000000',
  },
}
SCSS
$custom: #661786;
$custom-light: #965faa;
$custom-dark: #000000;
JSON
{
  "hex": "#661786",
  "rgb": {
    "r": 102,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 282.703,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39516,
    "c": 0.17411,
    "h": 313.4
  },
  "luminance": 0.05159
}

Semantic roles & 50–950 ramp

primary
#661786
secondary
#62BA3F
accent
#ED3A6E
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #661786

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

Preview Lab → · Contrast checker → · Palette generator →

#661786 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva