#661A5A#661A5A

#661A5A is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.8% C 0.132 H 335.0°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#661A5A
RGBrgb(102, 26, 90)
HSLhsl(309, 59%, 25%)
HSVhsv(309, 75%, 40%)
CMYKcmyk(0%, 74.5%, 11.8%, 60%)
CIE-LABlab(24.65, 41.09, -20.44)
CIE-LCHlch(24.65, 45.90, 333.55°)
OKLaboklab(36.78% 0.1198 -0.0558)
OKLCHoklch(36.78% 0.132 335)
XYZxyz(7.6944, 4.3024, 10.0961)
Luminance0.0430 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A5A #1A6626
analogous
#4C1A66 #661A5A #661A34
triadic
#661A5A #5A661A #1A5A66
tetradic
#661A5A #664C1A #1A6626 #1A3466
square
#661A5A #664C1A #1A6626 #1A3466
split-complementary
#661A5A #34661A #1A664C
monochromatic
#180616 #350E2F #661A5A #972685 #C833B0

Accessibility & contrast

On white

11.29
#661A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#661A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A5A
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A5A#FFFFFF#000000##FFFFFF
##661A5A1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A335C
Deuteranopia (green-blind)
#343F58
Tritanopia (blue-blind)
#6B2037
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #661a5a;
/* rgb */ color: rgb(102, 26, 90);
/* oklch */ color: oklch(36.8% 0.132 335.0);
Tailwind
colors: {
  custom: {
    50: '#945e89',
    500: '#661a5a',
    950: '#000000',
  },
}
SCSS
$custom: #661a5a;
$custom-light: #945e89;
$custom-dark: #000000;
JSON
{
  "hex": "#661a5a",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 90
  },
  "hsl": {
    "h": 309.474,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.36782,
    "c": 0.13214,
    "h": 335
  },
  "luminance": 0.04302
}

Semantic roles & 50–950 ramp

primary
#661A5A
secondary
#409C4F
accent
#E35E45
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050B
muted
#7E797C

Preview Lab

Preview with #661A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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