#671D7D#671D7D

#671D7D is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.160 H 317.2°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#671D7D
RGBrgb(103, 29, 125)
HSLhsl(286, 62%, 30%)
HSVhsv(286, 77%, 49%)
CMYKcmyk(17.6%, 76.8%, 0%, 51%)
CIE-LABlab(27.42, 46.79, -38.64)
CIE-LCHlch(27.42, 60.68, 320.45°)
OKLaboklab(39.5% 0.1173 -0.1087)
OKLCHoklch(39.5% 0.16 317.2)
XYZxyz(9.7340, 5.2434, 19.8974)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671D7D #337D1D
analogous
#371D7D #671D7D #7D1D63
triadic
#671D7D #7D671D #1D7D67
tetradic
#671D7D #7D371D #337D1D #1D637D
square
#671D7D #7D371D #337D1D #1D637D
split-complementary
#671D7D #637D1D #1D7D37
monochromatic
#15061A #3E114B #671D7D #9029AF #B241D3

Accessibility & contrast

On white

10.25
#671D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#671D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671D7D
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671D7D#FFFFFF#000000##FFFFFF
##671D7D1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#1F437B
Tritanopia (blue-blind)
#66314C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671d7d;
/* rgb */ color: rgb(103, 29, 125);
/* oklch */ color: oklch(39.5% 0.160 317.2);
Tailwind
colors: {
  custom: {
    50: '#9661a3',
    500: '#671d7d',
    950: '#000000',
  },
}
SCSS
$custom: #671d7d;
$custom-light: #9661a3;
$custom-dark: #000000;
JSON
{
  "hex": "#671d7d",
  "rgb": {
    "r": 103,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 286.25,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39502,
    "c": 0.15989,
    "h": 317.2
  },
  "luminance": 0.05243
}

Semantic roles & 50–950 ramp

primary
#671D7D
secondary
#5EB145
accent
#E54268
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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