#661A5D#661A5D

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

Color values

HEX#661A5D
RGBrgb(102, 26, 93)
HSLhsl(307, 59%, 25%)
HSVhsv(307, 75%, 40%)
CMYKcmyk(0%, 74.5%, 8.8%, 60%)
CIE-LABlab(24.81, 41.60, -22.17)
CIE-LCHlch(24.81, 47.14, 331.95°)
OKLaboklab(36.95% 0.1201 -0.0608)
OKLCHoklch(36.95% 0.135 333.2)
XYZxyz(7.8247, 4.3545, 10.7822)
Luminance0.0435 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A5D #1A6623
analogous
#491A66 #661A5D #661A37
triadic
#661A5D #5D661A #1A5D66
tetradic
#661A5D #66491A #1A6623 #1A3766
square
#661A5D #66491A #1A6623 #1A3766
split-complementary
#661A5D #37661A #1A6649
monochromatic
#180616 #350E31 #661A5D #972689 #C833B6

Accessibility & contrast

On white

11.23
#661A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#661A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A5D
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A5D#FFFFFF#000000##FFFFFF
##661A5D1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661a5d;
/* rgb */ color: rgb(102, 26, 93);
/* oklch */ color: oklch(37.0% 0.135 333.2);
Tailwind
colors: {
  custom: {
    50: '#945f8b',
    500: '#661a5d',
    950: '#000000',
  },
}
SCSS
$custom: #661a5d;
$custom-light: #945f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#661a5d",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 93
  },
  "hsl": {
    "h": 307.105,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.36953,
    "c": 0.13457,
    "h": 333.2
  },
  "luminance": 0.04354
}

Semantic roles & 50–950 ramp

primary
#661A5D
secondary
#409C4B
accent
#E35845
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #661A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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