#671B7C#671B7C

#671B7C is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.161 H 317.7°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#671B7C
RGBrgb(103, 27, 124)
HSLhsl(287, 64%, 30%)
HSVhsv(287, 78%, 49%)
CMYKcmyk(16.9%, 78.2%, 0%, 51.4%)
CIE-LABlab(27.08, 47.34, -38.54)
CIE-LCHlch(27.08, 61.04, 320.85°)
OKLaboklab(39.24% 0.1193 -0.1084)
OKLCHoklch(39.24% 0.161 317.7)
XYZxyz(9.6230, 5.1231, 19.5468)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B7C #307C1B
analogous
#361B7C #671B7C #7C1B61
triadic
#671B7C #7C671B #1B7C67
tetradic
#671B7C #7C361B #307C1B #1B617C
square
#671B7C #7C361B #307C1B #1B617C
split-complementary
#671B7C #617C1B #1B7C36
monochromatic
#150519 #3D104A #671B7C #9126AE #B43DD5

Accessibility & contrast

On white

10.37
#671B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#671B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671B7C
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B7C#FFFFFF#000000##FFFFFF
##671B7C1.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671b7c;
/* rgb */ color: rgb(103, 27, 124);
/* oklch */ color: oklch(39.2% 0.161 317.7);
Tailwind
colors: {
  custom: {
    50: '#9661a2',
    500: '#671b7c',
    950: '#000000',
  },
}
SCSS
$custom: #671b7c;
$custom-light: #9661a2;
$custom-dark: #000000;
JSON
{
  "hex": "#671b7c",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 124
  },
  "hsl": {
    "h": 287.01,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39242,
    "c": 0.16122,
    "h": 317.7
  },
  "luminance": 0.05123
}

Semantic roles & 50–950 ramp

primary
#671B7C
secondary
#5AB043
accent
#E74165
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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