#661E71#661E71

#661E71 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.6% C 0.147 H 322.1°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#661E71
RGBrgb(102, 30, 113)
HSLhsl(292, 58%, 28%)
HSVhsv(292, 73%, 44%)
CMYKcmyk(9.7%, 73.5%, 0%, 55.7%)
CIE-LABlab(26.58, 43.72, -32.35)
CIE-LCHlch(26.58, 54.39, 323.50°)
OKLaboklab(38.61% 0.1159 -0.0903)
OKLCHoklch(38.61% 0.147 322.1)
XYZxyz(8.9241, 4.9461, 16.1042)
Luminance0.0495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E71 #29711E
analogous
#3C1E71 #661E71 #711E52
triadic
#661E71 #71661E #1E7166
tetradic
#661E71 #713C1E #29711E #1E5271
square
#661E71 #713C1E #29711E #1E5271
split-complementary
#661E71 #52711E #1E713C
monochromatic
#160618 #3A1141 #661E71 #922BA1 #B93ECC

Accessibility & contrast

On white

10.56
#661E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#661E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661E71
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E71#FFFFFF#000000##FFFFFF
##661E711.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A73
Deuteranopia (green-blind)
#29426F
Tritanopia (blue-blind)
#672D45
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #661e71;
/* rgb */ color: rgb(102, 30, 113);
/* oklch */ color: oklch(38.6% 0.147 322.1);
Tailwind
colors: {
  custom: {
    50: '#95619a',
    500: '#661e71',
    950: '#000000',
  },
}
SCSS
$custom: #661e71;
$custom-light: #95619a;
$custom-dark: #000000;
JSON
{
  "hex": "#661e71",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 292.048,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38613,
    "c": 0.14697,
    "h": 322.1
  },
  "luminance": 0.04946
}

Semantic roles & 50–950 ramp

primary
#661E71
secondary
#52A546
accent
#E1475B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #661E71

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

Preview Lab → · Contrast checker → · Palette generator →

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