#661776#661776

#661776 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.3% C 0.160 H 320.1°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#661776
RGBrgb(102, 23, 118)
HSLhsl(290, 67%, 28%)
HSVhsv(290, 81%, 46%)
CMYKcmyk(13.6%, 80.5%, 0%, 53.7%)
CIE-LABlab(26.00, 47.33, -36.48)
CIE-LCHlch(26.00, 59.76, 322.38°)
OKLaboklab(38.31% 0.1225 -0.1024)
OKLCHoklch(38.31% 0.16 320.1)
XYZxyz(9.0555, 4.7461, 17.5751)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661776 #277617
analogous
#371776 #661776 #761756
triadic
#661776 #766617 #177666
tetradic
#661776 #763717 #277617 #175676
square
#661776 #763717 #277617 #175676
split-complementary
#661776 #567617 #177637
monochromatic
#16051A #3A0D43 #661776 #9221A9 #BB31D7

Accessibility & contrast

On white

10.77
#661776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#661776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661776
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661776#FFFFFF#000000##FFFFFF
##6617761.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003879
Deuteranopia (green-blind)
#214074
Tritanopia (blue-blind)
#662B46
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #661776;
/* rgb */ color: rgb(102, 23, 118);
/* oklch */ color: oklch(38.3% 0.160 320.1);
Tailwind
colors: {
  custom: {
    50: '#955e9e',
    500: '#661776',
    950: '#000000',
  },
}
SCSS
$custom: #661776;
$custom-light: #955e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#661776",
  "rgb": {
    "r": 102,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 289.895,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38307,
    "c": 0.15966,
    "h": 320.1
  },
  "luminance": 0.04746
}

Semantic roles & 50–950 ramp

primary
#661776
secondary
#50AB3E
accent
#EA3E5B
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661776

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

Preview Lab → · Contrast checker → · Palette generator →

#661776 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva