#671C8B#671C8B

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

Color values

HEX#671C8B
RGBrgb(103, 28, 139)
HSLhsl(281, 66%, 33%)
HSVhsv(281, 80%, 55%)
CMYKcmyk(25.9%, 79.9%, 0%, 45.5%)
CIE-LABlab(28.32, 50.14, -45.94)
CIE-LCHlch(28.32, 68.01, 317.50°)
OKLaboklab(40.47% 0.1158 -0.1301)
OKLCHoklch(40.47% 0.174 311.7)
XYZxyz(10.6681, 5.5784, 24.9359)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C8B #408B1C
analogous
#301C8B #671C8B #8B1C77
triadic
#671C8B #8B671C #1C8B67
tetradic
#671C8B #8B301C #408B1C #1C778B
square
#671C8B #8B301C #408B1C #1C778B
split-complementary
#671C8B #778B1C #1C8B30
monochromatic
#1C0725 #411258 #671C8B #8D26BE #AA47DA

Accessibility & contrast

On white

9.93
#671C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671C8B
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671C8B#FFFFFF#000000##FFFFFF
##671C8B1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#034489
Tritanopia (blue-blind)
#623753
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671c8b;
/* rgb */ color: rgb(103, 28, 139);
/* oklch */ color: oklch(40.5% 0.174 311.7);
Tailwind
colors: {
  custom: {
    50: '#9762ae',
    500: '#671c8b',
    950: '#000000',
  },
}
SCSS
$custom: #671c8b;
$custom-light: #9762ae;
$custom-dark: #000000;
JSON
{
  "hex": "#671c8b",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 280.541,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40469,
    "c": 0.17422,
    "h": 311.7
  },
  "luminance": 0.05578
}

Semantic roles & 50–950 ramp

primary
#671C8B
secondary
#6DBC47
accent
#E93E76
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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