#671B7F#671B7F

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

Color values

HEX#671B7F
RGBrgb(103, 27, 127)
HSLhsl(286, 65%, 30%)
HSVhsv(286, 79%, 50%)
CMYKcmyk(18.9%, 78.7%, 0%, 50.2%)
CIE-LABlab(27.30, 47.96, -40.09)
CIE-LCHlch(27.30, 62.51, 320.10°)
OKLaboklab(39.46% 0.1189 -0.113)
OKLCHoklch(39.46% 0.164 316.5)
XYZxyz(9.8156, 5.2001, 20.5612)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B7F #337F1B
analogous
#351B7F #671B7F #7F1B65
triadic
#671B7F #7F671B #1B7F67
tetradic
#671B7F #7F351B #337F1B #1B657F
square
#671B7F #7F351B #337F1B #1B657F
split-complementary
#671B7F #657F1B #1B7F35
monochromatic
#15061A #3E104D #671B7F #9026B1 #B23ED6

Accessibility & contrast

On white

10.29
#671B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671B7F
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B7F#FFFFFF#000000##FFFFFF
##671B7F1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#1B437D
Tritanopia (blue-blind)
#66314C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671b7f;
/* rgb */ color: rgb(103, 27, 127);
/* oklch */ color: oklch(39.5% 0.164 316.5);
Tailwind
colors: {
  custom: {
    50: '#9661a5',
    500: '#671b7f',
    950: '#000000',
  },
}
SCSS
$custom: #671b7f;
$custom-light: #9661a5;
$custom-dark: #000000;
JSON
{
  "hex": "#671b7f",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 127
  },
  "hsl": {
    "h": 285.6,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39463,
    "c": 0.164,
    "h": 316.5
  },
  "luminance": 0.052
}

Semantic roles & 50–950 ramp

primary
#671B7F
secondary
#5EB343
accent
#E84068
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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