#671C7A#671C7A

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

Color values

HEX#671C7A
RGBrgb(103, 28, 122)
HSLhsl(288, 63%, 29%)
HSVhsv(288, 77%, 48%)
CMYKcmyk(15.6%, 77%, 0%, 52.2%)
CIE-LABlab(27.07, 46.55, -37.29)
CIE-LCHlch(27.07, 59.65, 321.30°)
OKLaboklab(39.19% 0.1186 -0.1047)
OKLCHoklch(39.19% 0.158 318.5)
XYZxyz(9.5211, 5.1197, 18.8953)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C7A #2F7A1C
analogous
#381C7A #671C7A #7A1C5E
triadic
#671C7A #7A671C #1C7A67
tetradic
#671C7A #7A381C #2F7A1C #1C5E7A
square
#671C7A #7A381C #2F7A1C #1C5E7A
split-complementary
#671C7A #5E7A1C #1C7A38
monochromatic
#150619 #3D1148 #671C7A #9127AC #B53ED3

Accessibility & contrast

On white

10.38
#671C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671C7A
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671C7A#FFFFFF#000000##FFFFFF
##671C7A1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#214278
Tritanopia (blue-blind)
#672F4A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671c7a;
/* rgb */ color: rgb(103, 28, 122);
/* oklch */ color: oklch(39.2% 0.158 318.5);
Tailwind
colors: {
  custom: {
    50: '#9661a1',
    500: '#671c7a',
    950: '#000000',
  },
}
SCSS
$custom: #671c7a;
$custom-light: #9661a1;
$custom-dark: #000000;
JSON
{
  "hex": "#671c7a",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 287.872,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39191,
    "c": 0.15824,
    "h": 318.5
  },
  "luminance": 0.05119
}

Semantic roles & 50–950 ramp

primary
#671C7A
secondary
#59AE44
accent
#E64263
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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