#661B79#661B79

#661B79 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.158 H 318.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#661B79
RGBrgb(102, 27, 121)
HSLhsl(288, 64%, 29%)
HSVhsv(288, 78%, 47%)
CMYKcmyk(15.7%, 77.7%, 0%, 52.5%)
CIE-LABlab(26.71, 46.51, -37.26)
CIE-LCHlch(26.71, 59.59, 321.30°)
OKLaboklab(38.87% 0.1184 -0.1047)
OKLCHoklch(38.87% 0.158 318.5)
XYZxyz(9.3221, 4.9896, 18.5575)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B79 #2E791B
analogous
#371B79 #661B79 #791B5D
triadic
#661B79 #79661B #1B7966
tetradic
#661B79 #79371B #2E791B #1B5D79
square
#661B79 #79371B #2E791B #1B5D79
split-complementary
#661B79 #5D791B #1B7937
monochromatic
#150619 #3C1047 #661B79 #9026AB #B53BD3

Accessibility & contrast

On white

10.51
#661B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#661B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B79
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B79#FFFFFF#000000##FFFFFF
##661B791.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#204177
Tritanopia (blue-blind)
#662F49
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #661b79;
/* rgb */ color: rgb(102, 27, 121);
/* oklch */ color: oklch(38.9% 0.158 318.5);
Tailwind
colors: {
  custom: {
    50: '#9560a0',
    500: '#661b79',
    950: '#000000',
  },
}
SCSS
$custom: #661b79;
$custom-light: #9560a0;
$custom-dark: #000000;
JSON
{
  "hex": "#661b79",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 287.872,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38874,
    "c": 0.15804,
    "h": 318.5
  },
  "luminance": 0.04989
}

Semantic roles & 50–950 ramp

primary
#661B79
secondary
#58AD43
accent
#E74163
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #661B79

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

Preview Lab → · Contrast checker → · Palette generator →

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