#661A89#661A89

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

Color values

HEX#661A89
RGBrgb(102, 26, 137)
HSLhsl(281, 68%, 32%)
HSVhsv(281, 81%, 54%)
CMYKcmyk(25.5%, 81%, 0%, 46.3%)
CIE-LABlab(27.76, 50.23, -45.61)
CIE-LCHlch(27.76, 67.85, 317.76°)
OKLaboklab(40% 0.1166 -0.1292)
OKLCHoklch(40% 0.174 312.1)
XYZxyz(10.3634, 5.3700, 24.1527)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A89 #3D891A
analogous
#2F1A89 #661A89 #891A75
triadic
#661A89 #89661A #1A8966
tetradic
#661A89 #892F1A #3D891A #1A7589
square
#661A89 #892F1A #3D891A #1A7589
split-complementary
#661A89 #75891A #1A892F
monochromatic
#190622 #401056 #661A89 #8C24BC #AB42DB

Accessibility & contrast

On white

10.13
#661A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#661A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A89
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A89#FFFFFF#000000##FFFFFF
##661A891.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#024387
Tritanopia (blue-blind)
#623552
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #661a89;
/* rgb */ color: rgb(102, 26, 137);
/* oklch */ color: oklch(40.0% 0.174 312.1);
Tailwind
colors: {
  custom: {
    50: '#9661ac',
    500: '#661a89',
    950: '#000000',
  },
}
SCSS
$custom: #661a89;
$custom-light: #9661ac;
$custom-dark: #000000;
JSON
{
  "hex": "#661a89",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 281.081,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39996,
    "c": 0.17401,
    "h": 312.1
  },
  "luminance": 0.0537
}

Semantic roles & 50–950 ramp

primary
#661A89
secondary
#69BC43
accent
#EB3D74
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661A89

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

Preview Lab → · Contrast checker → · Palette generator →

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