#671D89#671D89

#671D89 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.171 H 312.3°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#671D89
RGBrgb(103, 29, 137)
HSLhsl(281, 65%, 33%)
HSVhsv(281, 79%, 54%)
CMYKcmyk(24.8%, 78.8%, 0%, 46.3%)
CIE-LABlab(28.30, 49.34, -44.74)
CIE-LCHlch(28.30, 66.60, 317.80°)
OKLaboklab(40.4% 0.1153 -0.1266)
OKLCHoklch(40.4% 0.171 312.3)
XYZxyz(10.5474, 5.5687, 24.1813)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671D89 #3F891D
analogous
#311D89 #671D89 #891D75
triadic
#671D89 #89671D #1D8967
tetradic
#671D89 #89311D #3F891D #1D7589
square
#671D89 #89311D #3F891D #1D7589
split-complementary
#671D89 #75891D #1D8931
monochromatic
#1B0824 #411256 #671D89 #8D28BC #AB48D8

Accessibility & contrast

On white

9.94
#671D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#671D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671D89
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671D89#FFFFFF#000000##FFFFFF
##671D891.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#0B4487
Tritanopia (blue-blind)
#633752
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671d89;
/* rgb */ color: rgb(103, 29, 137);
/* oklch */ color: oklch(40.4% 0.171 312.3);
Tailwind
colors: {
  custom: {
    50: '#9662ac',
    500: '#671d89',
    950: '#000000',
  },
}
SCSS
$custom: #671d89;
$custom-light: #9662ac;
$custom-dark: #000000;
JSON
{
  "hex": "#671d89",
  "rgb": {
    "r": 103,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 281.111,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40403,
    "c": 0.17126,
    "h": 312.3
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

primary
#671D89
secondary
#6CBA47
accent
#E84075
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671D89

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

Preview Lab → · Contrast checker → · Palette generator →

#671D89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva