#661A85#661A85

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

Color values

HEX#661A85
RGBrgb(102, 26, 133)
HSLhsl(283, 67%, 31%)
HSVhsv(283, 80%, 52%)
CMYKcmyk(23.3%, 80.5%, 0%, 47.8%)
CIE-LABlab(27.46, 49.37, -43.61)
CIE-LCHlch(27.46, 65.88, 318.55°)
OKLaboklab(39.68% 0.1174 -0.1233)
OKLCHoklch(39.68% 0.17 313.6)
XYZxyz(10.0818, 5.2574, 22.6694)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A85 #39851A
analogous
#301A85 #661A85 #851A6E
triadic
#661A85 #85661A #1A8566
tetradic
#661A85 #85301A #39851A #1A6E85
square
#661A85 #85301A #39851A #1A6E85
split-complementary
#661A85 #6E851A #1A8530
monochromatic
#17061F #3F1052 #661A85 #8D24B8 #AD40DA

Accessibility & contrast

On white

10.24
#661A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661A85
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A85#FFFFFF#000000##FFFFFF
##661A851.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#0E4283
Tritanopia (blue-blind)
#63344F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #661a85;
/* rgb */ color: rgb(102, 26, 133);
/* oklch */ color: oklch(39.7% 0.170 313.6);
Tailwind
colors: {
  custom: {
    50: '#9660a9',
    500: '#661a85',
    950: '#000000',
  },
}
SCSS
$custom: #661a85;
$custom-light: #9660a9;
$custom-dark: #000000;
JSON
{
  "hex": "#661a85",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 282.617,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39682,
    "c": 0.17027,
    "h": 313.6
  },
  "luminance": 0.05257
}

Semantic roles & 50–950 ramp

primary
#661A85
secondary
#65B842
accent
#EA3E70
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661A85

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

Preview Lab → · Contrast checker → · Palette generator →

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