#661E7B#661E7B

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

Color values

HEX#661E7B
RGBrgb(102, 30, 123)
HSLhsl(286, 61%, 30%)
HSVhsv(286, 76%, 48%)
CMYKcmyk(17.1%, 75.6%, 0%, 51.8%)
CIE-LABlab(27.25, 45.76, -37.65)
CIE-LCHlch(27.25, 59.26, 320.56°)
OKLaboklab(39.31% 0.1152 -0.1058)
OKLCHoklch(39.31% 0.156 317.4)
XYZxyz(9.5184, 5.1838, 19.2342)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E7B #337B1E
analogous
#381E7B #661E7B #7B1E61
triadic
#661E7B #7B661E #1E7B66
tetradic
#661E7B #7B381E #337B1E #1E617B
square
#661E7B #7B381E #337B1E #1E617B
split-complementary
#661E7B #617B1E #1E7B38
monochromatic
#140619 #3D124A #661E7B #8F2AAC #B142D1

Accessibility & contrast

On white

10.31
#661E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#661E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661E7B
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E7B#FFFFFF#000000##FFFFFF
##661E7B1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#214379
Tritanopia (blue-blind)
#65314B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661e7b;
/* rgb */ color: rgb(102, 30, 123);
/* oklch */ color: oklch(39.3% 0.156 317.4);
Tailwind
colors: {
  custom: {
    50: '#9562a2',
    500: '#661e7b',
    950: '#000000',
  },
}
SCSS
$custom: #661e7b;
$custom-light: #9562a2;
$custom-dark: #000000;
JSON
{
  "hex": "#661e7b",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 286.452,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.39307,
    "c": 0.1564,
    "h": 317.4
  },
  "luminance": 0.05183
}

Semantic roles & 50–950 ramp

primary
#661E7B
secondary
#5EAE46
accent
#E44468
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #661E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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