#661F5B#661F5B

#661F5B is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.4% C 0.126 H 334.5°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#661F5B
RGBrgb(102, 31, 91)
HSLhsl(309, 53%, 26%)
HSVhsv(309, 70%, 40%)
CMYKcmyk(0%, 69.6%, 10.8%, 60%)
CIE-LABlab(25.44, 39.18, -19.86)
CIE-LCHlch(25.44, 43.92, 333.12°)
OKLaboklab(37.38% 0.1138 -0.0542)
OKLCHoklch(37.38% 0.126 334.5)
XYZxyz(7.8579, 4.5607, 10.3620)
Luminance0.0456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661F5B #1F662A
analogous
#4D1F66 #661F5B #661F37
triadic
#661F5B #5B661F #1F5B66
tetradic
#661F5B #664D1F #1F662A #1F3766
square
#661F5B #664D1F #1F662A #1F3766
split-complementary
#661F5B #37661F #1F664D
monochromatic
#170715 #371131 #661F5B #952D85 #C43CAF

Accessibility & contrast

On white

10.98
#661F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#661F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661F5B
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661F5B#FFFFFF#000000##FFFFFF
##661F5B1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E365D
Deuteranopia (green-blind)
#364059
Tritanopia (blue-blind)
#6B243A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #661f5b;
/* rgb */ color: rgb(102, 31, 91);
/* oklch */ color: oklch(37.4% 0.126 334.5);
Tailwind
colors: {
  custom: {
    50: '#946189',
    500: '#661f5b',
    950: '#000000',
  },
}
SCSS
$custom: #661f5b;
$custom-light: #946189;
$custom-dark: #000000;
JSON
{
  "hex": "#661f5b",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 91
  },
  "hsl": {
    "h": 309.296,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.37377,
    "c": 0.12599,
    "h": 334.5
  },
  "luminance": 0.0456
}

Semantic roles & 50–950 ramp

primary
#661F5B
secondary
#469A53
accent
#DD624B
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0D050B
muted
#7E797C

Preview Lab

Preview with #661F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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