#661A82#661A82

#661A82 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.167 H 314.8°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#661A82
RGBrgb(102, 26, 130)
HSLhsl(284, 67%, 31%)
HSVhsv(284, 80%, 51%)
CMYKcmyk(21.5%, 80%, 0%, 49%)
CIE-LABlab(27.23, 48.74, -42.10)
CIE-LCHlch(27.23, 64.41, 319.18°)
OKLaboklab(39.45% 0.118 -0.1189)
OKLCHoklch(39.45% 0.167 314.8)
XYZxyz(9.8775, 5.1756, 21.5935)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A82 #36821A
analogous
#321A82 #661A82 #821A6A
triadic
#661A82 #82661A #1A8266
tetradic
#661A82 #82321A #36821A #1A6A82
square
#661A82 #82321A #36821A #1A6A82
split-complementary
#661A82 #6A821A #1A8232
monochromatic
#16061C #3E104F #661A82 #8E24B5 #AF3ED8

Accessibility & contrast

On white

10.32
#661A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#661A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A82
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A82#FFFFFF#000000##FFFFFF
##661A821.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#144280
Tritanopia (blue-blind)
#64324E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661a82;
/* rgb */ color: rgb(102, 26, 130);
/* oklch */ color: oklch(39.5% 0.167 314.8);
Tailwind
colors: {
  custom: {
    50: '#9660a7',
    500: '#661a82',
    950: '#000000',
  },
}
SCSS
$custom: #661a82;
$custom-light: #9660a7;
$custom-dark: #000000;
JSON
{
  "hex": "#661a82",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 283.846,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39452,
    "c": 0.16748,
    "h": 314.8
  },
  "luminance": 0.05175
}

Semantic roles & 50–950 ramp

primary
#661A82
secondary
#61B642
accent
#EA3E6C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #661A82

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

Preview Lab → · Contrast checker → · Palette generator →

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