#661E7D#661E7D

#661E7D is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.158 H 316.5°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#661E7D
RGBrgb(102, 30, 125)
HSLhsl(285, 61%, 30%)
HSVhsv(285, 76%, 49%)
CMYKcmyk(18.4%, 76%, 0%, 51%)
CIE-LABlab(27.39, 46.18, -38.69)
CIE-LCHlch(27.39, 60.24, 320.05°)
OKLaboklab(39.45% 0.1149 -0.1089)
OKLCHoklch(39.45% 0.158 316.5)
XYZxyz(9.6449, 5.2344, 19.9004)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E7D #357D1E
analogous
#371E7D #661E7D #7D1E64
triadic
#661E7D #7D661E #1E7D66
tetradic
#661E7D #7D371E #357D1E #1E647D
square
#661E7D #7D371E #357D1E #1E647D
split-complementary
#661E7D #647D1E #1E7D37
monochromatic
#15061A #3E124C #661E7D #8E2AAE #AF43D2

Accessibility & contrast

On white

10.26
#661E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#661E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661E7D
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E7D#FFFFFF#000000##FFFFFF
##661E7D1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#1E437B
Tritanopia (blue-blind)
#65324C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #661e7d;
/* rgb */ color: rgb(102, 30, 125);
/* oklch */ color: oklch(39.5% 0.158 316.5);
Tailwind
colors: {
  custom: {
    50: '#9562a3',
    500: '#661e7d',
    950: '#000000',
  },
}
SCSS
$custom: #661e7d;
$custom-light: #9562a3;
$custom-dark: #000000;
JSON
{
  "hex": "#661e7d",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 285.474,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39452,
    "c": 0.15831,
    "h": 316.5
  },
  "luminance": 0.05234
}

Semantic roles & 50–950 ramp

primary
#661E7D
secondary
#60B046
accent
#E4436A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #661E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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