#661D74#661D74

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

Color values

HEX#661D74
RGBrgb(102, 29, 116)
HSLhsl(290, 60%, 28%)
HSVhsv(290, 75%, 45%)
CMYKcmyk(12.1%, 75%, 0%, 54.5%)
CIE-LABlab(26.63, 44.72, -34.19)
CIE-LCHlch(26.63, 56.29, 322.61°)
OKLaboklab(38.71% 0.1168 -0.0957)
OKLCHoklch(38.71% 0.151 320.7)
XYZxyz(9.0709, 4.9649, 17.0001)
Luminance0.0496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661D74 #2B741D
analogous
#3A1D74 #661D74 #741D56
triadic
#661D74 #74661D #1D7466
tetradic
#661D74 #743A1D #2B741D #1D5674
square
#661D74 #743A1D #2B741D #1D5674
split-complementary
#661D74 #56741D #1D743A
monochromatic
#160618 #3B1143 #661D74 #9129A5 #B73DCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##661D74#FFFFFF#000000##FFFFFF
##661D741.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)
#003A76
Deuteranopia (green-blind)
#264272
Tritanopia (blue-blind)
#672E47
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #661d74;
/* rgb */ color: rgb(102, 29, 116);
/* oklch */ color: oklch(38.7% 0.151 320.7);
Tailwind
colors: {
  custom: {
    50: '#95619c',
    500: '#661d74',
    950: '#000000',
  },
}
SCSS
$custom: #661d74;
$custom-light: #95619c;
$custom-dark: #000000;
JSON
{
  "hex": "#661d74",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 290.345,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38715,
    "c": 0.15103,
    "h": 320.7
  },
  "luminance": 0.04964
}

Semantic roles & 50–950 ramp

primary
#661D74
secondary
#55A845
accent
#E3455E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #661D74

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

Preview Lab → · Contrast checker → · Palette generator →

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