#661771#661771

#661771 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.0% C 0.155 H 322.4°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#661771
RGBrgb(102, 23, 113)
HSLhsl(293, 66%, 27%)
HSVhsv(293, 80%, 44%)
CMYKcmyk(9.7%, 79.6%, 0%, 55.7%)
CIE-LABlab(25.65, 46.36, -33.84)
CIE-LCHlch(25.65, 57.39, 323.88°)
OKLaboklab(37.95% 0.1231 -0.0946)
OKLCHoklch(37.95% 0.155 322.4)
XYZxyz(8.7662, 4.6303, 16.0516)
Luminance0.0463 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661771 #227117
analogous
#391771 #661771 #71174F
triadic
#661771 #716617 #177166
tetradic
#661771 #713917 #227117 #174F71
square
#661771 #713917 #227117 #174F71
split-complementary
#661771 #4F7117 #177139
monochromatic
#170519 #380D3E #661771 #9421A4 #C02ED4

Accessibility & contrast

On white

10.90
#661771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#661771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661771
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661771#FFFFFF#000000##FFFFFF
##6617711.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#25406F
Tritanopia (blue-blind)
#672943
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #661771;
/* rgb */ color: rgb(102, 23, 113);
/* oklch */ color: oklch(38.0% 0.155 322.4);
Tailwind
colors: {
  custom: {
    50: '#955e9a',
    500: '#661771',
    950: '#000000',
  },
}
SCSS
$custom: #661771;
$custom-light: #955e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#661771",
  "rgb": {
    "r": 102,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 292.667,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.37953,
    "c": 0.15525,
    "h": 322.4
  },
  "luminance": 0.0463
}

Semantic roles & 50–950 ramp

primary
#661771
secondary
#4AA73D
accent
#E93F54
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661771

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

Preview Lab → · Contrast checker → · Palette generator →

#661771 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva