#661C74#661C74

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

Color values

HEX#661C74
RGBrgb(102, 28, 116)
HSLhsl(290, 61%, 28%)
HSVhsv(290, 76%, 45%)
CMYKcmyk(12.1%, 75.9%, 0%, 54.5%)
CIE-LABlab(26.50, 45.12, -34.41)
CIE-LCHlch(26.50, 56.74, 322.67°)
OKLaboklab(38.62% 0.1179 -0.0963)
OKLCHoklch(38.62% 0.152 320.7)
XYZxyz(9.0468, 4.9167, 16.9921)
Luminance0.0492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C74 #2A741C
analogous
#3A1C74 #661C74 #741C56
triadic
#661C74 #74661C #1C7466
tetradic
#661C74 #743A1C #2A741C #1C5674
square
#661C74 #743A1C #2A741C #1C5674
split-complementary
#661C74 #56741C #1C743A
monochromatic
#160619 #3B1043 #661C74 #9128A5 #B83BD0

Accessibility & contrast

On white

10.59
#661C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#661C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661C74
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C74#FFFFFF#000000##FFFFFF
##661C741.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#264172
Tritanopia (blue-blind)
#672D46
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #661c74;
/* rgb */ color: rgb(102, 28, 116);
/* oklch */ color: oklch(38.6% 0.152 320.7);
Tailwind
colors: {
  custom: {
    50: '#95609c',
    500: '#661c74',
    950: '#000000',
  },
}
SCSS
$custom: #661c74;
$custom-light: #95609c;
$custom-dark: #000000;
JSON
{
  "hex": "#661c74",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 116
  },
  "hsl": {
    "h": 290.455,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38616,
    "c": 0.15225,
    "h": 320.7
  },
  "luminance": 0.04916
}

Semantic roles & 50–950 ramp

primary
#661C74
secondary
#54A843
accent
#E4445D
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661C74

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

Preview Lab → · Contrast checker → · Palette generator →

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