#671B89#671B89

#671B89 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.173 H 312.5°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#671B89
RGBrgb(103, 27, 137)
HSLhsl(281, 67%, 32%)
HSVhsv(281, 80%, 54%)
CMYKcmyk(24.8%, 80.3%, 0%, 46.3%)
CIE-LABlab(28.04, 50.07, -45.15)
CIE-LCHlch(28.04, 67.42, 317.95°)
OKLaboklab(40.23% 0.1171 -0.1278)
OKLCHoklch(40.23% 0.173 312.5)
XYZxyz(10.5000, 5.4739, 24.1655)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B89 #3D891B
analogous
#301B89 #671B89 #891B74
triadic
#671B89 #89671B #1B8967
tetradic
#671B89 #89301B #3D891B #1B7489
square
#671B89 #89301B #3D891B #1B7489
split-complementary
#671B89 #74891B #1B8930
monochromatic
#1A0723 #411156 #671B89 #8D25BC #AC44DA

Accessibility & contrast

On white

10.02
#671B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#671B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671B89
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B89#FFFFFF#000000##FFFFFF
##671B891.0010.022.0910.02
#FFFFFF10.021.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#074487
Tritanopia (blue-blind)
#633652
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #671b89;
/* rgb */ color: rgb(103, 27, 137);
/* oklch */ color: oklch(40.2% 0.173 312.5);
Tailwind
colors: {
  custom: {
    50: '#9761ac',
    500: '#671b89',
    950: '#000000',
  },
}
SCSS
$custom: #671b89;
$custom-light: #9761ac;
$custom-dark: #000000;
JSON
{
  "hex": "#671b89",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 281.455,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40225,
    "c": 0.17334,
    "h": 312.5
  },
  "luminance": 0.05474
}

Semantic roles & 50–950 ramp

primary
#671B89
secondary
#69BC44
accent
#EA3E73
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671B89

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

Preview Lab → · Contrast checker → · Palette generator →

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