#671B7D#671B7D

#671B7D is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.3% C 0.162 H 317.3°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#671B7D
RGBrgb(103, 27, 125)
HSLhsl(287, 64%, 30%)
HSVhsv(287, 78%, 49%)
CMYKcmyk(17.6%, 78.4%, 0%, 51%)
CIE-LABlab(27.15, 47.54, -39.06)
CIE-LCHlch(27.15, 61.53, 320.59°)
OKLaboklab(39.32% 0.1192 -0.1099)
OKLCHoklch(39.32% 0.162 317.3)
XYZxyz(9.6866, 5.1485, 19.8816)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B7D #317D1B
analogous
#361B7D #671B7D #7D1B62
triadic
#671B7D #7D671B #1B7D67
tetradic
#671B7D #7D361B #317D1B #1B627D
square
#671B7D #7D361B #317D1B #1B627D
split-complementary
#671B7D #627D1B #1B7D36
monochromatic
#150519 #3E104B #671B7D #9026AF #B33DD5

Accessibility & contrast

On white

10.35
#671B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#671B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671B7D
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B7D#FFFFFF#000000##FFFFFF
##671B7D1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#1D427B
Tritanopia (blue-blind)
#66304B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671b7d;
/* rgb */ color: rgb(103, 27, 125);
/* oklch */ color: oklch(39.3% 0.162 317.3);
Tailwind
colors: {
  custom: {
    50: '#9661a3',
    500: '#671b7d',
    950: '#000000',
  },
}
SCSS
$custom: #671b7d;
$custom-light: #9661a3;
$custom-dark: #000000;
JSON
{
  "hex": "#671b7d",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 286.531,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39315,
    "c": 0.16214,
    "h": 317.3
  },
  "luminance": 0.05148
}

Semantic roles & 50–950 ramp

primary
#671B7D
secondary
#5CB143
accent
#E74066
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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