#661B73#661B73

#661B73 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.5% C 0.153 H 321.3°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#661B73
RGBrgb(102, 27, 115)
HSLhsl(291, 62%, 28%)
HSVhsv(291, 77%, 45%)
CMYKcmyk(11.3%, 76.5%, 0%, 54.9%)
CIE-LABlab(26.29, 45.30, -34.09)
CIE-LCHlch(26.29, 56.70, 323.04°)
OKLaboklab(38.45% 0.119 -0.0954)
OKLCHoklch(38.45% 0.153 321.3)
XYZxyz(8.9656, 4.8469, 16.6796)
Luminance0.0485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B73 #28731B
analogous
#3A1B73 #661B73 #731B54
triadic
#661B73 #73661B #1B7366
tetradic
#661B73 #733A1B #28731B #1B5473
square
#661B73 #733A1B #28731B #1B5473
split-complementary
#661B73 #54731B #1B733A
monochromatic
#160619 #3A0F41 #661B73 #9227A5 #BA38D0

Accessibility & contrast

On white

10.66
#661B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#661B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B73
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B73#FFFFFF#000000##FFFFFF
##661B731.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#264171
Tritanopia (blue-blind)
#672C45
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #661b73;
/* rgb */ color: rgb(102, 27, 115);
/* oklch */ color: oklch(38.5% 0.153 321.3);
Tailwind
colors: {
  custom: {
    50: '#95609c',
    500: '#661b73',
    950: '#000000',
  },
}
SCSS
$custom: #661b73;
$custom-light: #95609c;
$custom-dark: #000000;
JSON
{
  "hex": "#661b73",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 291.136,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38451,
    "c": 0.15253,
    "h": 321.3
  },
  "luminance": 0.04846
}

Semantic roles & 50–950 ramp

primary
#661B73
secondary
#51A842
accent
#E5435B
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661B73

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

Preview Lab → · Contrast checker → · Palette generator →

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