#661E79#661E79

#661E79 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.154 H 318.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#661E79
RGBrgb(102, 30, 121)
HSLhsl(287, 60%, 30%)
HSVhsv(287, 75%, 47%)
CMYKcmyk(15.7%, 75.2%, 0%, 52.5%)
CIE-LABlab(27.11, 45.34, -36.60)
CIE-LCHlch(27.11, 58.27, 321.09°)
OKLaboklab(39.17% 0.1154 -0.1028)
OKLCHoklch(39.17% 0.155 318.3)
XYZxyz(9.3945, 5.1342, 18.5816)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E79 #31791E
analogous
#391E79 #661E79 #791E5E
triadic
#661E79 #79661E #1E7966
tetradic
#661E79 #79391E #31791E #1E5E79
square
#661E79 #79391E #31791E #1E5E79
split-complementary
#661E79 #5E791E #1E7939
monochromatic
#150619 #3D1248 #661E79 #8F2AAA #B241D0

Accessibility & contrast

On white

10.36
#661E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661E79
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E79#FFFFFF#000000##FFFFFF
##661E791.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#224277
Tritanopia (blue-blind)
#66304A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661e79;
/* rgb */ color: rgb(102, 30, 121);
/* oklch */ color: oklch(39.2% 0.154 318.3);
Tailwind
colors: {
  custom: {
    50: '#9562a0',
    500: '#661e79',
    950: '#000000',
  },
}
SCSS
$custom: #661e79;
$custom-light: #9562a0;
$custom-dark: #000000;
JSON
{
  "hex": "#661e79",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 287.473,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39165,
    "c": 0.1545,
    "h": 318.3
  },
  "luminance": 0.05134
}

Semantic roles & 50–950 ramp

primary
#661E79
secondary
#5CAD46
accent
#E34466
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #661E79

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

Preview Lab → · Contrast checker → · Palette generator →

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