#661A5B#661A5B

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

Color values

HEX#661A5B
RGBrgb(102, 26, 91)
HSLhsl(309, 59%, 25%)
HSVhsv(309, 75%, 40%)
CMYKcmyk(0%, 74.5%, 10.8%, 60%)
CIE-LABlab(24.70, 41.26, -21.02)
CIE-LCHlch(24.70, 46.31, 333.01°)
OKLaboklab(36.84% 0.1199 -0.0575)
OKLCHoklch(36.84% 0.133 334.4)
XYZxyz(7.7373, 4.3196, 10.3218)
Luminance0.0432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A5B #1A6625
analogous
#4B1A66 #661A5B #661A35
triadic
#661A5B #5B661A #1A5B66
tetradic
#661A5B #664B1A #1A6625 #1A3566
square
#661A5B #664B1A #1A6625 #1A3566
split-complementary
#661A5B #35661A #1A664B
monochromatic
#180616 #350E2F #661A5B #972687 #C833B2

Accessibility & contrast

On white

11.27
#661A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661A5B
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A5B#FFFFFF#000000##FFFFFF
##661A5B1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19335D
Deuteranopia (green-blind)
#343F59
Tritanopia (blue-blind)
#6B2038
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #661a5b;
/* rgb */ color: rgb(102, 26, 91);
/* oklch */ color: oklch(36.8% 0.133 334.4);
Tailwind
colors: {
  custom: {
    50: '#945e89',
    500: '#661a5b',
    950: '#000000',
  },
}
SCSS
$custom: #661a5b;
$custom-light: #945e89;
$custom-dark: #000000;
JSON
{
  "hex": "#661a5b",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 91
  },
  "hsl": {
    "h": 308.684,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.36838,
    "c": 0.13294,
    "h": 334.4
  },
  "luminance": 0.04319
}

Semantic roles & 50–950 ramp

primary
#661A5B
secondary
#409C4D
accent
#E35C45
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050B
muted
#7E797C

Preview Lab

Preview with #661A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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