#661A76#661A76

#661A76 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.6% C 0.156 H 319.9°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#661A76
RGBrgb(102, 26, 118)
HSLhsl(290, 64%, 28%)
HSVhsv(290, 78%, 46%)
CMYKcmyk(13.6%, 78%, 0%, 53.7%)
CIE-LABlab(26.37, 46.28, -35.89)
CIE-LCHlch(26.37, 58.56, 322.20°)
OKLaboklab(38.57% 0.1197 -0.1007)
OKLCHoklch(38.57% 0.156 319.9)
XYZxyz(9.1185, 4.8720, 17.5961)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A76 #2A761A
analogous
#381A76 #661A76 #761A58
triadic
#661A76 #76661A #1A7666
tetradic
#661A76 #76381A #2A761A #1A5876
square
#661A76 #76381A #2A761A #1A5876
split-complementary
#661A76 #58761A #1A7638
monochromatic
#160619 #3B0F44 #661A76 #9125A8 #B837D3

Accessibility & contrast

On white

10.64
#661A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661A76
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A76#FFFFFF#000000##FFFFFF
##661A761.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003979
Deuteranopia (green-blind)
#224174
Tritanopia (blue-blind)
#662D47
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #661a76;
/* rgb */ color: rgb(102, 26, 118);
/* oklch */ color: oklch(38.6% 0.156 319.9);
Tailwind
colors: {
  custom: {
    50: '#95609e',
    500: '#661a76',
    950: '#000000',
  },
}
SCSS
$custom: #661a76;
$custom-light: #95609e;
$custom-dark: #000000;
JSON
{
  "hex": "#661a76",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 289.565,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38568,
    "c": 0.15642,
    "h": 319.9
  },
  "luminance": 0.04872
}

Semantic roles & 50–950 ramp

primary
#661A76
secondary
#54AB41
accent
#E7415E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661A76

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

Preview Lab → · Contrast checker → · Palette generator →

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