#661B5D#661B5D

#661B5D is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.1% C 0.133 H 333.2°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#661B5D
RGBrgb(102, 27, 93)
HSLhsl(307, 58%, 25%)
HSVhsv(307, 74%, 40%)
CMYKcmyk(0%, 73.5%, 8.8%, 60%)
CIE-LABlab(24.95, 41.21, -21.95)
CIE-LCHlch(24.95, 46.69, 331.96°)
OKLaboklab(37.05% 0.1189 -0.0601)
OKLCHoklch(37.05% 0.133 333.2)
XYZxyz(7.8472, 4.3996, 10.7897)
Luminance0.0440 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B5D #1B6624
analogous
#491B66 #661B5D #661B37
triadic
#661B5D #5D661B #1B5D66
tetradic
#661B5D #66491B #1B6624 #1B3766
square
#661B5D #66491B #1B6624 #1B3766
split-complementary
#661B5D #37661B #1B6649
monochromatic
#180616 #360E31 #661B5D #962889 #C735B5

Accessibility & contrast

On white

11.17
#661B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#661B5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B5D
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B5D#FFFFFF#000000##FFFFFF
##661B5D1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18345F
Deuteranopia (green-blind)
#333F5B
Tritanopia (blue-blind)
#6B2239
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #661b5d;
/* rgb */ color: rgb(102, 27, 93);
/* oklch */ color: oklch(37.1% 0.133 333.2);
Tailwind
colors: {
  custom: {
    50: '#945f8b',
    500: '#661b5d',
    950: '#000000',
  },
}
SCSS
$custom: #661b5d;
$custom-light: #945f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#661b5d",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 93
  },
  "hsl": {
    "h": 307.2,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.37054,
    "c": 0.13325,
    "h": 333.2
  },
  "luminance": 0.04399
}

Semantic roles & 50–950 ramp

primary
#661B5D
secondary
#419B4C
accent
#E15946
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0D050C
muted
#7E797D

Preview Lab

Preview with #661B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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