#661D77#661D77

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

Color values

HEX#661D77
RGBrgb(102, 29, 119)
HSLhsl(289, 61%, 29%)
HSVhsv(289, 76%, 47%)
CMYKcmyk(14.3%, 75.6%, 0%, 53.3%)
CIE-LABlab(26.84, 45.33, -35.78)
CIE-LCHlch(26.84, 57.75, 321.72°)
OKLaboklab(38.92% 0.1166 -0.1003)
OKLCHoklch(38.92% 0.154 319.3)
XYZxyz(9.2482, 5.0359, 17.9341)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661D77 #2E771D
analogous
#391D77 #661D77 #771D5B
triadic
#661D77 #77661D #1D7766
tetradic
#661D77 #77391D #2E771D #1D5B77
square
#661D77 #77391D #2E771D #1D5B77
split-complementary
#661D77 #5B771D #1D7739
monochromatic
#150619 #3C1146 #661D77 #9029A8 #B53ED0

Accessibility & contrast

On white

10.46
#661D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#661D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661D77
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661D77#FFFFFF#000000##FFFFFF
##661D771.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7A
Deuteranopia (green-blind)
#244275
Tritanopia (blue-blind)
#662F48
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #661d77;
/* rgb */ color: rgb(102, 29, 119);
/* oklch */ color: oklch(38.9% 0.154 319.3);
Tailwind
colors: {
  custom: {
    50: '#95619f',
    500: '#661d77',
    950: '#000000',
  },
}
SCSS
$custom: #661d77;
$custom-light: #95619f;
$custom-dark: #000000;
JSON
{
  "hex": "#661d77",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 119
  },
  "hsl": {
    "h": 288.667,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38924,
    "c": 0.15383,
    "h": 319.3
  },
  "luminance": 0.05035
}

Semantic roles & 50–950 ramp

primary
#661D77
secondary
#58AB45
accent
#E44462
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #661D77

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

Preview Lab → · Contrast checker → · Palette generator →

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