#661A7A#661A7A

#661A7A is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.160 H 318.1°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#661A7A
RGBrgb(102, 26, 122)
HSLhsl(288, 65%, 29%)
HSVhsv(288, 79%, 48%)
CMYKcmyk(16.4%, 78.7%, 0%, 52.2%)
CIE-LABlab(26.65, 47.08, -37.99)
CIE-LCHlch(26.65, 60.50, 321.10°)
OKLaboklab(38.86% 0.1192 -0.1068)
OKLCHoklch(38.86% 0.16 318.1)
XYZxyz(9.3612, 4.9691, 18.8746)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A7A #2E7A1A
analogous
#361A7A #661A7A #7A1A5E
triadic
#661A7A #7A661A #1A7A66
tetradic
#661A7A #7A361A #2E7A1A #1A5E7A
square
#661A7A #7A361A #2E7A1A #1A5E7A
split-complementary
#661A7A #5E7A1A #1A7A36
monochromatic
#150519 #3C0F48 #661A7A #9025AC #B539D5

Accessibility & contrast

On white

10.53
#661A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#661A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A7A
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A7A#FFFFFF#000000##FFFFFF
##661A7A1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#1E4178
Tritanopia (blue-blind)
#652F49
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #661a7a;
/* rgb */ color: rgb(102, 26, 122);
/* oklch */ color: oklch(38.9% 0.160 318.1);
Tailwind
colors: {
  custom: {
    50: '#9560a1',
    500: '#661a7a',
    950: '#000000',
  },
}
SCSS
$custom: #661a7a;
$custom-light: #9560a1;
$custom-dark: #000000;
JSON
{
  "hex": "#661a7a",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 287.5,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38855,
    "c": 0.16008,
    "h": 318.1
  },
  "luminance": 0.04969
}

Semantic roles & 50–950 ramp

primary
#661A7A
secondary
#58AE41
accent
#E84063
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #661A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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