#671B8D#671B8D

#671B8D is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.177 H 311.0°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#671B8D
RGBrgb(103, 27, 141)
HSLhsl(280, 68%, 33%)
HSVhsv(280, 81%, 55%)
CMYKcmyk(27%, 80.9%, 0%, 44.7%)
CIE-LABlab(28.36, 50.93, -47.13)
CIE-LCHlch(28.36, 69.39, 317.22°)
OKLaboklab(40.54% 0.1162 -0.1336)
OKLCHoklch(40.54% 0.177 311)
XYZxyz(10.7922, 5.5908, 25.7048)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B8D #418D1B
analogous
#2E1B8D #671B8D #8D1B7A
triadic
#671B8D #8D671B #1B8D67
tetradic
#671B8D #8D2E1B #418D1B #1B7A8D
square
#671B8D #8D2E1B #418D1B #1B7A8D
split-complementary
#671B8D #7A8D1B #1B8D2E
monochromatic
#1C0726 #41115A #671B8D #8D25C0 #AA47DC

Accessibility & contrast

On white

9.91
#671B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#671B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671B8D
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B8D#FFFFFF#000000##FFFFFF
##671B8D1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#623854
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671b8d;
/* rgb */ color: rgb(103, 27, 141);
/* oklch */ color: oklch(40.5% 0.177 311.0);
Tailwind
colors: {
  custom: {
    50: '#9761af',
    500: '#671b8d',
    950: '#000000',
  },
}
SCSS
$custom: #671b8d;
$custom-light: #9761af;
$custom-dark: #000000;
JSON
{
  "hex": "#671b8d",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 280,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40541,
    "c": 0.17711,
    "h": 311
  },
  "luminance": 0.05591
}

Semantic roles & 50–950 ramp

primary
#671B8D
secondary
#6EBD46
accent
#EB3D77
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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