#671A84#671A84

#671A84 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.170 H 314.5°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#671A84
RGBrgb(103, 26, 132)
HSLhsl(284, 67%, 31%)
HSVhsv(284, 80%, 52%)
CMYKcmyk(22%, 80.3%, 0%, 48.2%)
CIE-LABlab(27.54, 49.36, -42.84)
CIE-LCHlch(27.54, 65.36, 319.04°)
OKLaboklab(39.75% 0.119 -0.121)
OKLCHoklch(39.75% 0.17 314.5)
XYZxyz(10.1271, 5.2887, 22.3127)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A84 #37841A
analogous
#321A84 #671A84 #841A6C
triadic
#671A84 #84671A #1A8467
tetradic
#671A84 #84321A #37841A #1A6C84
square
#671A84 #84321A #37841A #1A6C84
split-complementary
#671A84 #6C841A #1A8432
monochromatic
#17061E #3F1051 #671A84 #8F24B7 #AF3FD9

Accessibility & contrast

On white

10.21
#671A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#671A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671A84
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A84#FFFFFF#000000##FFFFFF
##671A841.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#124382
Tritanopia (blue-blind)
#64334F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671a84;
/* rgb */ color: rgb(103, 26, 132);
/* oklch */ color: oklch(39.8% 0.170 314.5);
Tailwind
colors: {
  custom: {
    50: '#9661a8',
    500: '#671a84',
    950: '#000000',
  },
}
SCSS
$custom: #671a84;
$custom-light: #9661a8;
$custom-dark: #000000;
JSON
{
  "hex": "#671a84",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 132
  },
  "hsl": {
    "h": 283.585,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39752,
    "c": 0.1697,
    "h": 314.5
  },
  "luminance": 0.05288
}

Semantic roles & 50–950 ramp

primary
#671A84
secondary
#62B842
accent
#EA3E6D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671A84

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

Preview Lab → · Contrast checker → · Palette generator →

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