#661D7C#661D7C

#661D7C is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.3% C 0.159 H 317.1°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#661D7C
RGBrgb(102, 29, 124)
HSLhsl(286, 62%, 30%)
HSVhsv(286, 77%, 49%)
CMYKcmyk(17.7%, 76.6%, 0%, 51.4%)
CIE-LABlab(27.18, 46.36, -38.39)
CIE-LCHlch(27.18, 60.19, 320.37°)
OKLaboklab(39.28% 0.1161 -0.108)
OKLCHoklch(39.28% 0.159 317.1)
XYZxyz(9.5564, 5.1592, 19.5573)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661D7C #337C1D
analogous
#361D7C #661D7C #7C1D63
triadic
#661D7C #7C661D #1D7C66
tetradic
#661D7C #7C361D #337C1D #1D637C
square
#661D7C #7C361D #337C1D #1D637C
split-complementary
#661D7C #637C1D #1D7C36
monochromatic
#140619 #3D114A #661D7C #8F29AE #B141D3

Accessibility & contrast

On white

10.34
#661D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#661D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661D7C
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661D7C#FFFFFF#000000##FFFFFF
##661D7C1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#1F427A
Tritanopia (blue-blind)
#65314B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661d7c;
/* rgb */ color: rgb(102, 29, 124);
/* oklch */ color: oklch(39.3% 0.159 317.1);
Tailwind
colors: {
  custom: {
    50: '#9561a2',
    500: '#661d7c',
    950: '#000000',
  },
}
SCSS
$custom: #661d7c;
$custom-light: #9561a2;
$custom-dark: #000000;
JSON
{
  "hex": "#661d7c",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 286.105,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.39281,
    "c": 0.15854,
    "h": 317.1
  },
  "luminance": 0.05159
}

Semantic roles & 50–950 ramp

primary
#661D7C
secondary
#5EB045
accent
#E54368
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #661D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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