#671D7A#671D7A

#671D7A is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.3% C 0.157 H 318.5°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#671D7A
RGBrgb(103, 29, 122)
HSLhsl(288, 62%, 30%)
HSVhsv(288, 76%, 48%)
CMYKcmyk(15.6%, 76.2%, 0%, 52.2%)
CIE-LABlab(27.21, 46.17, -37.08)
CIE-LCHlch(27.21, 59.21, 321.23°)
OKLaboklab(39.29% 0.1176 -0.1041)
OKLCHoklch(39.29% 0.157 318.5)
XYZxyz(9.5453, 5.1679, 18.9033)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671D7A #307A1D
analogous
#391D7A #671D7A #7A1D5F
triadic
#671D7A #7A671D #1D7A67
tetradic
#671D7A #7A391D #307A1D #1D5F7A
square
#671D7A #7A391D #307A1D #1D5F7A
split-complementary
#671D7A #5F7A1D #1D7A39
monochromatic
#150619 #3D1149 #671D7A #9129AB #B440D2

Accessibility & contrast

On white

10.33
#671D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671D7A
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671D7A#FFFFFF#000000##FFFFFF
##671D7A1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#224378
Tritanopia (blue-blind)
#67304A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671d7a;
/* rgb */ color: rgb(103, 29, 122);
/* oklch */ color: oklch(39.3% 0.157 318.5);
Tailwind
colors: {
  custom: {
    50: '#9661a1',
    500: '#671d7a',
    950: '#000000',
  },
}
SCSS
$custom: #671d7a;
$custom-light: #9661a1;
$custom-dark: #000000;
JSON
{
  "hex": "#671d7a",
  "rgb": {
    "r": 103,
    "g": 29,
    "b": 122
  },
  "hsl": {
    "h": 287.742,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39287,
    "c": 0.15708,
    "h": 318.5
  },
  "luminance": 0.05167
}

Semantic roles & 50–950 ramp

primary
#671D7A
secondary
#5AAE45
accent
#E54364
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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