#661C76#661C76

#661C76 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.8% C 0.154 H 319.8°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#661C76
RGBrgb(102, 28, 118)
HSLhsl(289, 62%, 29%)
HSVhsv(289, 76%, 46%)
CMYKcmyk(13.6%, 76.3%, 0%, 53.7%)
CIE-LABlab(26.63, 45.52, -35.47)
CIE-LCHlch(26.63, 57.71, 322.07°)
OKLaboklab(38.76% 0.1177 -0.0994)
OKLCHoklch(38.76% 0.154 319.8)
XYZxyz(9.1643, 4.9638, 17.6114)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C76 #2C761C
analogous
#391C76 #661C76 #761C59
triadic
#661C76 #76661C #1C7666
tetradic
#661C76 #76391C #2C761C #1C5976
square
#661C76 #76391C #2C761C #1C5976
split-complementary
#661C76 #59761C #1C7639
monochromatic
#150619 #3B1045 #661C76 #9128A7 #B63CD1

Accessibility & contrast

On white

10.54
#661C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#661C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661C76
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C76#FFFFFF#000000##FFFFFF
##661C761.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A79
Deuteranopia (green-blind)
#244174
Tritanopia (blue-blind)
#662E47
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #661c76;
/* rgb */ color: rgb(102, 28, 118);
/* oklch */ color: oklch(38.8% 0.154 319.8);
Tailwind
colors: {
  custom: {
    50: '#95619e',
    500: '#661c76',
    950: '#000000',
  },
}
SCSS
$custom: #661c76;
$custom-light: #95619e;
$custom-dark: #000000;
JSON
{
  "hex": "#661c76",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 289.333,
    "s": 61.644,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38756,
    "c": 0.1541,
    "h": 319.8
  },
  "luminance": 0.04963
}

Semantic roles & 50–950 ramp

primary
#661C76
secondary
#56AA44
accent
#E54360
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661C76

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

Preview Lab → · Contrast checker → · Palette generator →

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