#661B6F#661B6F

#661B6F is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.2% C 0.149 H 323.2°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#661B6F
RGBrgb(102, 27, 111)
HSLhsl(294, 61%, 27%)
HSVhsv(294, 76%, 44%)
CMYKcmyk(8.1%, 75.7%, 0%, 56.5%)
CIE-LABlab(26.03, 44.52, -31.95)
CIE-LCHlch(26.03, 54.79, 324.33°)
OKLaboklab(38.18% 0.1193 -0.0891)
OKLCHoklch(38.18% 0.149 323.2)
XYZxyz(8.7404, 4.7569, 15.4936)
Luminance0.0476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B6F #246F1B
analogous
#3C1B6F #661B6F #6F1B4E
triadic
#661B6F #6F661B #1B6F66
tetradic
#661B6F #6F3C1B #246F1B #1B4E6F
square
#661B6F #6F3C1B #246F1B #1B4E6F
split-complementary
#661B6F #4E6F1B #1B6F3C
monochromatic
#170619 #390F3E #661B6F #9327A0 #BE36CE

Accessibility & contrast

On white

10.76
#661B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#661B6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B6F
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B6F#FFFFFF#000000##FFFFFF
##661B6F1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#29416D
Tritanopia (blue-blind)
#682A43
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #661b6f;
/* rgb */ color: rgb(102, 27, 111);
/* oklch */ color: oklch(38.2% 0.149 323.2);
Tailwind
colors: {
  custom: {
    50: '#956099',
    500: '#661b6f',
    950: '#000000',
  },
}
SCSS
$custom: #661b6f;
$custom-light: #956099;
$custom-dark: #000000;
JSON
{
  "hex": "#661b6f",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 111
  },
  "hsl": {
    "h": 293.571,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.38179,
    "c": 0.14889,
    "h": 323.2
  },
  "luminance": 0.04756
}

Semantic roles & 50–950 ramp

primary
#661B6F
secondary
#4CA442
accent
#E44455
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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