#661971#661971

#661971 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.153 H 322.3°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#661971
RGBrgb(102, 25, 113)
HSLhsl(293, 64%, 27%)
HSVhsv(293, 78%, 44%)
CMYKcmyk(9.7%, 77.9%, 0%, 55.7%)
CIE-LABlab(25.90, 45.66, -33.44)
CIE-LCHlch(25.90, 56.59, 323.78°)
OKLaboklab(38.13% 0.1212 -0.0935)
OKLCHoklch(38.13% 0.153 322.3)
XYZxyz(8.8075, 4.7128, 16.0653)
Luminance0.0471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661971 #247119
analogous
#3A1971 #661971 #711950
triadic
#661971 #716619 #197166
tetradic
#661971 #713A19 #247119 #195071
square
#661971 #713A19 #247119 #195071
split-complementary
#661971 #507119 #19713A
monochromatic
#170619 #390E3F #661971 #9324A3 #BE33D2

Accessibility & contrast

On white

10.81
#661971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#661971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661971
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661971#FFFFFF#000000##FFFFFF
##6619711.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#26406F
Tritanopia (blue-blind)
#672A44
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #661971;
/* rgb */ color: rgb(102, 25, 113);
/* oklch */ color: oklch(38.1% 0.153 322.3);
Tailwind
colors: {
  custom: {
    50: '#955f9a',
    500: '#661971',
    950: '#000000',
  },
}
SCSS
$custom: #661971;
$custom-light: #955f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#661971",
  "rgb": {
    "r": 102,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 292.5,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.38128,
    "c": 0.15304,
    "h": 322.3
  },
  "luminance": 0.04712
}

Semantic roles & 50–950 ramp

primary
#661971
secondary
#4CA640
accent
#E74156
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661971

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

Preview Lab → · Contrast checker → · Palette generator →

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