#661E7F#661E7F

#661E7F is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.160 H 315.7°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#661E7F
RGBrgb(102, 30, 127)
HSLhsl(285, 62%, 31%)
HSVhsv(285, 76%, 50%)
CMYKcmyk(19.7%, 76.4%, 0%, 50.2%)
CIE-LABlab(27.53, 46.60, -39.72)
CIE-LCHlch(27.53, 61.23, 319.56°)
OKLaboklab(39.6% 0.1147 -0.1119)
OKLCHoklch(39.6% 0.16 315.7)
XYZxyz(9.7739, 5.2860, 20.5800)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E7F #377F1E
analogous
#351E7F #661E7F #7F1E67
triadic
#661E7F #7F661E #1E7F66
tetradic
#661E7F #7F351E #377F1E #1E677F
square
#661E7F #7F351E #377F1E #1E677F
split-complementary
#661E7F #677F1E #1E7F35
monochromatic
#16071C #3E124D #661E7F #8E2AB1 #AE44D3

Accessibility & contrast

On white

10.21
#661E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#661E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661E7F
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E7F#FFFFFF#000000##FFFFFF
##661E7F1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#1C437D
Tritanopia (blue-blind)
#64334D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #661e7f;
/* rgb */ color: rgb(102, 30, 127);
/* oklch */ color: oklch(39.6% 0.160 315.7);
Tailwind
colors: {
  custom: {
    50: '#9562a5',
    500: '#661e7f',
    950: '#000000',
  },
}
SCSS
$custom: #661e7f;
$custom-light: #9562a5;
$custom-dark: #000000;
JSON
{
  "hex": "#661e7f",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 284.536,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39598,
    "c": 0.16022,
    "h": 315.7
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

primary
#661E7F
secondary
#62B247
accent
#E5436D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #661E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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