#661584#661584

#661584 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.2% C 0.174 H 314.3°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#661584
RGBrgb(102, 21, 132)
HSLhsl(284, 73%, 30%)
HSVhsv(284, 84%, 52%)
CMYKcmyk(22.7%, 84.1%, 0%, 48.2%)
CIE-LABlab(26.81, 50.81, -44.03)
CIE-LCHlch(26.81, 67.23, 319.09°)
OKLaboklab(39.21% 0.1217 -0.1245)
OKLCHoklch(39.21% 0.174 314.3)
XYZxyz(9.9118, 5.0274, 22.2736)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661584 #338415
analogous
#2F1584 #661584 #84156A
triadic
#661584 #846615 #158466
tetradic
#661584 #842F15 #338415 #156A84
square
#661584 #842F15 #338415 #156A84
split-complementary
#661584 #6A8415 #15842F
monochromatic
#14041A #3D0D4F #661584 #8F1DB9 #B135DF

Accessibility & contrast

On white

10.47
#661584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#661584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661584
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661584#FFFFFF#000000##FFFFFF
##6615841.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#094182
Tritanopia (blue-blind)
#63314E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #661584;
/* rgb */ color: rgb(102, 21, 132);
/* oklch */ color: oklch(39.2% 0.174 314.3);
Tailwind
colors: {
  custom: {
    50: '#965ea8',
    500: '#661584',
    950: '#000000',
  },
}
SCSS
$custom: #661584;
$custom-light: #965ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#661584",
  "rgb": {
    "r": 102,
    "g": 21,
    "b": 132
  },
  "hsl": {
    "h": 283.784,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.39207,
    "c": 0.17409,
    "h": 314.3
  },
  "luminance": 0.05027
}

Semantic roles & 50–950 ramp

primary
#661584
secondary
#5EB93C
accent
#EF396A
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #661584

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

Preview Lab → · Contrast checker → · Palette generator →

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