#661C82#661C82

#661C82 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.165 H 314.6°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#661C82
RGBrgb(102, 28, 130)
HSLhsl(284, 65%, 31%)
HSVhsv(284, 78%, 51%)
CMYKcmyk(21.5%, 78.5%, 0%, 49%)
CIE-LABlab(27.48, 48.01, -41.69)
CIE-LCHlch(27.48, 63.58, 319.03°)
OKLaboklab(39.63% 0.1162 -0.1177)
OKLCHoklch(39.63% 0.165 314.6)
XYZxyz(9.9233, 5.2673, 21.6087)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C82 #38821C
analogous
#331C82 #661C82 #821C6B
triadic
#661C82 #82661C #1C8266
tetradic
#661C82 #82331C #38821C #1C6B82
square
#661C82 #82331C #38821C #1C6B82
split-complementary
#661C82 #6B821C #1C8233
monochromatic
#17061D #3E1150 #661C82 #8E27B4 #AE42D6

Accessibility & contrast

On white

10.23
#661C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#661C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661C82
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C82#FFFFFF#000000##FFFFFF
##661C821.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661c82;
/* rgb */ color: rgb(102, 28, 130);
/* oklch */ color: oklch(39.6% 0.165 314.6);
Tailwind
colors: {
  custom: {
    50: '#9561a7',
    500: '#661c82',
    950: '#000000',
  },
}
SCSS
$custom: #661c82;
$custom-light: #9561a7;
$custom-dark: #000000;
JSON
{
  "hex": "#661c82",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 283.529,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39631,
    "c": 0.16535,
    "h": 314.6
  },
  "luminance": 0.05267
}

Semantic roles & 50–950 ramp

primary
#661C82
secondary
#63B544
accent
#E8406E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #661C82

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

Preview Lab → · Contrast checker → · Palette generator →

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