#671F7A#671F7A

#671F7A is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.5% C 0.155 H 318.3°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#671F7A
RGBrgb(103, 31, 122)
HSLhsl(287, 59%, 30%)
HSVhsv(287, 75%, 48%)
CMYKcmyk(15.6%, 74.6%, 0%, 52.2%)
CIE-LABlab(27.49, 45.37, -36.63)
CIE-LCHlch(27.49, 58.31, 321.09°)
OKLaboklab(39.49% 0.1155 -0.1028)
OKLCHoklch(39.49% 0.155 318.3)
XYZxyz(9.5959, 5.2691, 18.9202)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F7A #327A1F
analogous
#3A1F7A #671F7A #7A1F5F
triadic
#671F7A #7A671F #1F7A67
tetradic
#671F7A #7A3A1F #327A1F #1F5F7A
square
#671F7A #7A3A1F #327A1F #1F5F7A
split-complementary
#671F7A #5F7A1F #1F7A3A
monochromatic
#150618 #3E1349 #671F7A #902BAB #B244CF

Accessibility & contrast

On white

10.22
#671F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#671F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F7A
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F7A#FFFFFF#000000##FFFFFF
##671F7A1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#244378
Tritanopia (blue-blind)
#67314A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671f7a;
/* rgb */ color: rgb(103, 31, 122);
/* oklch */ color: oklch(39.5% 0.155 318.3);
Tailwind
colors: {
  custom: {
    50: '#9662a1',
    500: '#671f7a',
    950: '#000000',
  },
}
SCSS
$custom: #671f7a;
$custom-light: #9662a1;
$custom-dark: #000000;
JSON
{
  "hex": "#671f7a",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 122
  },
  "hsl": {
    "h": 287.473,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.39486,
    "c": 0.15464,
    "h": 318.3
  },
  "luminance": 0.05269
}

Semantic roles & 50–950 ramp

primary
#671F7A
secondary
#5DAD47
accent
#E34566
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #671F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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