#671D7B#671D7B

#671D7B is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.158 H 318.0°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#671D7B
RGBrgb(103, 29, 123)
HSLhsl(287, 62%, 30%)
HSVhsv(287, 76%, 48%)
CMYKcmyk(16.3%, 76.4%, 0%, 51.8%)
CIE-LABlab(27.28, 46.37, -37.60)
CIE-LCHlch(27.28, 59.70, 320.97°)
OKLaboklab(39.36% 0.1175 -0.1057)
OKLCHoklch(39.36% 0.158 318)
XYZxyz(9.6075, 5.1928, 19.2313)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671D7B #317B1D
analogous
#381D7B #671D7B #7B1D60
triadic
#671D7B #7B671D #1D7B67
tetradic
#671D7B #7B381D #317B1D #1D607B
square
#671D7B #7B381D #317B1D #1D607B
split-complementary
#671D7B #607B1D #1D7B38
monochromatic
#150619 #3E1149 #671D7B #9029AD #B340D2

Accessibility & contrast

On white

10.30
#671D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#671D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671D7B
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671D7B#FFFFFF#000000##FFFFFF
##671D7B1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#214379
Tritanopia (blue-blind)
#66304A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671d7b;
/* rgb */ color: rgb(103, 29, 123);
/* oklch */ color: oklch(39.4% 0.158 318.0);
Tailwind
colors: {
  custom: {
    50: '#9661a2',
    500: '#671d7b',
    950: '#000000',
  },
}
SCSS
$custom: #671d7b;
$custom-light: #9661a2;
$custom-dark: #000000;
JSON
{
  "hex": "#671d7b",
  "rgb": {
    "r": 103,
    "g": 29,
    "b": 123
  },
  "hsl": {
    "h": 287.234,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39358,
    "c": 0.15801,
    "h": 318
  },
  "luminance": 0.05192
}

Semantic roles & 50–950 ramp

primary
#671D7B
secondary
#5CAF45
accent
#E54365
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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