#661B71#661B71

#661B71 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.3% C 0.151 H 322.2°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#661B71
RGBrgb(102, 27, 113)
HSLhsl(292, 61%, 27%)
HSVhsv(292, 76%, 44%)
CMYKcmyk(9.7%, 76.1%, 0%, 55.7%)
CIE-LABlab(26.16, 44.91, -33.02)
CIE-LCHlch(26.16, 55.74, 323.67°)
OKLaboklab(38.31% 0.1191 -0.0923)
OKLCHoklch(38.31% 0.151 322.2)
XYZxyz(8.8517, 4.8014, 16.0801)
Luminance0.0480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B71 #26711B
analogous
#3B1B71 #661B71 #711B51
triadic
#661B71 #71661B #1B7166
tetradic
#661B71 #713B1B #26711B #1B5171
square
#661B71 #713B1B #26711B #1B5171
split-complementary
#661B71 #51711B #1B713B
monochromatic
#160619 #390F40 #661B71 #9327A2 #BC37CF

Accessibility & contrast

On white

10.71
#661B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#661B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B71
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B71#FFFFFF#000000##FFFFFF
##661B711.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#27416F
Tritanopia (blue-blind)
#672B44
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #661b71;
/* rgb */ color: rgb(102, 27, 113);
/* oklch */ color: oklch(38.3% 0.151 322.2);
Tailwind
colors: {
  custom: {
    50: '#95609a',
    500: '#661b71',
    950: '#000000',
  },
}
SCSS
$custom: #661b71;
$custom-light: #95609a;
$custom-dark: #000000;
JSON
{
  "hex": "#661b71",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 292.326,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38314,
    "c": 0.1507,
    "h": 322.2
  },
  "luminance": 0.04801
}

Semantic roles & 50–950 ramp

primary
#661B71
secondary
#4FA642
accent
#E54358
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661B71

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

Preview Lab → · Contrast checker → · Palette generator →

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