#661D82#661D82

#661D82 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.164 H 314.5°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#661D82
RGBrgb(102, 29, 130)
HSLhsl(283, 64%, 31%)
HSVhsv(283, 78%, 51%)
CMYKcmyk(21.5%, 77.7%, 0%, 49%)
CIE-LABlab(27.62, 47.63, -41.47)
CIE-LCHlch(27.62, 63.16, 318.95°)
OKLaboklab(39.72% 0.1152 -0.1171)
OKLCHoklch(39.72% 0.164 314.5)
XYZxyz(9.9474, 5.3156, 21.6168)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661D82 #39821D
analogous
#331D82 #661D82 #821D6B
triadic
#661D82 #82661D #1D8266
tetradic
#661D82 #82331D #39821D #1D6B82
square
#661D82 #82331D #39821D #1D6B82
split-complementary
#661D82 #6B821D #1D8233
monochromatic
#17071E #3F1250 #661D82 #8D28B4 #AD44D5

Accessibility & contrast

On white

10.18
#661D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#661D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661D82
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661D82#FFFFFF#000000##FFFFFF
##661D821.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#174380
Tritanopia (blue-blind)
#63344E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #661d82;
/* rgb */ color: rgb(102, 29, 130);
/* oklch */ color: oklch(39.7% 0.164 314.5);
Tailwind
colors: {
  custom: {
    50: '#9562a7',
    500: '#661d82',
    950: '#000000',
  },
}
SCSS
$custom: #661d82;
$custom-light: #9562a7;
$custom-dark: #000000;
JSON
{
  "hex": "#661d82",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 283.366,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39724,
    "c": 0.16424,
    "h": 314.5
  },
  "luminance": 0.05315
}

Semantic roles & 50–950 ramp

primary
#661D82
secondary
#65B546
accent
#E7416F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #661D82

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

Preview Lab → · Contrast checker → · Palette generator →

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