#671971#671971

#671971 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.3% C 0.153 H 322.9°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#671971
RGBrgb(103, 25, 113)
HSLhsl(293, 64%, 27%)
HSVhsv(293, 78%, 44%)
CMYKcmyk(8.8%, 77.9%, 0%, 55.7%)
CIE-LABlab(26.07, 45.88, -33.15)
CIE-LCHlch(26.07, 56.60, 324.15°)
OKLaboklab(38.29% 0.1224 -0.0926)
OKLCHoklch(38.29% 0.153 322.9)
XYZxyz(8.9215, 4.7716, 16.0707)
Luminance0.0477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671971 #237119
analogous
#3B1971 #671971 #71194F
triadic
#671971 #716719 #197167
tetradic
#671971 #713B19 #237119 #194F71
square
#671971 #713B19 #237119 #194F71
split-complementary
#671971 #4F7119 #19713B
monochromatic
#170619 #390E3F #671971 #9524A3 #C033D2

Accessibility & contrast

On white

10.75
#671971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#671971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671971
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671971#FFFFFF#000000##FFFFFF
##6719711.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#27416F
Tritanopia (blue-blind)
#692A44
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #671971;
/* rgb */ color: rgb(103, 25, 113);
/* oklch */ color: oklch(38.3% 0.153 322.9);
Tailwind
colors: {
  custom: {
    50: '#965f9a',
    500: '#671971',
    950: '#000000',
  },
}
SCSS
$custom: #671971;
$custom-light: #965f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#671971",
  "rgb": {
    "r": 103,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 293.182,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.38286,
    "c": 0.15349,
    "h": 322.9
  },
  "luminance": 0.04771
}

Semantic roles & 50–950 ramp

primary
#671971
secondary
#4BA640
accent
#E74154
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #671971

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

Preview Lab → · Contrast checker → · Palette generator →

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