#671B6C#671B6C

#671B6C is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.1% C 0.147 H 325.3°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#671B6C
RGBrgb(103, 27, 108)
HSLhsl(296, 60%, 26%)
HSVhsv(296, 75%, 42%)
CMYKcmyk(4.6%, 75%, 0%, 57.6%)
CIE-LABlab(26.01, 44.18, -30.03)
CIE-LCHlch(26.01, 53.42, 325.79°)
OKLaboklab(38.14% 0.1206 -0.0835)
OKLCHoklch(38.14% 0.147 325.3)
XYZxyz(8.6920, 4.7507, 14.6436)
Luminance0.0475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B6C #206C1B
analogous
#3F1B6C #671B6C #6C1B49
triadic
#671B6C #6C671B #1B6C67
tetradic
#671B6C #6C3F1B #206C1B #1B496C
square
#671B6C #6C3F1B #206C1B #1B496C
split-complementary
#671B6C #496C1B #1B6C3F
monochromatic
#170618 #380F3B #671B6C #96279D #C335CC

Accessibility & contrast

On white

10.77
#671B6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#671B6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671B6C
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B6C#FFFFFF#000000##FFFFFF
##671B6C1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05386E
Deuteranopia (green-blind)
#2C416A
Tritanopia (blue-blind)
#692942
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #671b6c;
/* rgb */ color: rgb(103, 27, 108);
/* oklch */ color: oklch(38.1% 0.147 325.3);
Tailwind
colors: {
  custom: {
    50: '#956096',
    500: '#671b6c',
    950: '#000000',
  },
}
SCSS
$custom: #671b6c;
$custom-light: #956096;
$custom-dark: #000000;
JSON
{
  "hex": "#671b6c",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 108
  },
  "hsl": {
    "h": 296.296,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.38138,
    "c": 0.1467,
    "h": 325.3
  },
  "luminance": 0.0475
}

Semantic roles & 50–950 ramp

primary
#671B6C
secondary
#48A142
accent
#E3454E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #671B6C

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

Preview Lab → · Contrast checker → · Palette generator →

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