#661A7C#661A7C

#661A7C is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.162 H 317.3°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#661A7C
RGBrgb(102, 26, 124)
HSLhsl(287, 65%, 29%)
HSVhsv(287, 79%, 49%)
CMYKcmyk(17.7%, 79%, 0%, 51.4%)
CIE-LABlab(26.79, 47.49, -39.02)
CIE-LCHlch(26.79, 61.47, 320.59°)
OKLaboklab(39% 0.119 -0.1098)
OKLCHoklch(39% 0.162 317.3)
XYZxyz(9.4864, 5.0192, 19.5340)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A7C #307C1A
analogous
#351A7C #661A7C #7C1A61
triadic
#661A7C #7C661A #1A7C66
tetradic
#661A7C #7C351A #307C1A #1A617C
square
#661A7C #7C351A #307C1A #1A617C
split-complementary
#661A7C #617C1A #1A7C35
monochromatic
#150519 #3C0F49 #661A7C #9025AF #B33BD6

Accessibility & contrast

On white

10.48
#661A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#661A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A7C
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A7C#FFFFFF#000000##FFFFFF
##661A7C1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#1C427A
Tritanopia (blue-blind)
#652F4A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #661a7c;
/* rgb */ color: rgb(102, 26, 124);
/* oklch */ color: oklch(39.0% 0.162 317.3);
Tailwind
colors: {
  custom: {
    50: '#9560a2',
    500: '#661a7c',
    950: '#000000',
  },
}
SCSS
$custom: #661a7c;
$custom-light: #9560a2;
$custom-dark: #000000;
JSON
{
  "hex": "#661a7c",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 286.531,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39002,
    "c": 0.16192,
    "h": 317.3
  },
  "luminance": 0.05019
}

Semantic roles & 50–950 ramp

primary
#661A7C
secondary
#5AB042
accent
#E84065
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #661A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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