#661F71#661F71

#661F71 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.7% C 0.146 H 322.0°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#661F71
RGBrgb(102, 31, 113)
HSLhsl(292, 57%, 28%)
HSVhsv(292, 73%, 44%)
CMYKcmyk(9.7%, 72.6%, 0%, 55.7%)
CIE-LABlab(26.73, 43.30, -32.12)
CIE-LCHlch(26.73, 53.91, 323.43°)
OKLaboklab(38.72% 0.1148 -0.0897)
OKLCHoklch(38.72% 0.146 322)
XYZxyz(8.9498, 4.9975, 16.1128)
Luminance0.0500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661F71 #2A711F
analogous
#3D1F71 #661F71 #711F53
triadic
#661F71 #71661F #1F7166
tetradic
#661F71 #713D1F #2A711F #1F5371
square
#661F71 #713D1F #2A711F #1F5371
split-complementary
#661F71 #53711F #1F713D
monochromatic
#160718 #3B1241 #661F71 #912CA1 #B840CB

Accessibility & contrast

On white

10.50
#661F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#661F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661F71
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661F71#FFFFFF#000000##FFFFFF
##661F711.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033A73
Deuteranopia (green-blind)
#2A426F
Tritanopia (blue-blind)
#672D45
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #661f71;
/* rgb */ color: rgb(102, 31, 113);
/* oklch */ color: oklch(38.7% 0.146 322.0);
Tailwind
colors: {
  custom: {
    50: '#94629a',
    500: '#661f71',
    950: '#000000',
  },
}
SCSS
$custom: #661f71;
$custom-light: #94629a;
$custom-dark: #000000;
JSON
{
  "hex": "#661f71",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 291.951,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38719,
    "c": 0.14567,
    "h": 322
  },
  "luminance": 0.04997
}

Semantic roles & 50–950 ramp

primary
#661F71
secondary
#54A547
accent
#E0485C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #661F71

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

Preview Lab → · Contrast checker → · Palette generator →

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