#671F6A#671F6A

#671F6A is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.4% C 0.140 H 326.2°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#671F6A
RGBrgb(103, 31, 106)
HSLhsl(298, 55%, 27%)
HSVhsv(298, 71%, 42%)
CMYKcmyk(2.8%, 70.8%, 0%, 58.4%)
CIE-LABlab(26.46, 42.18, -28.03)
CIE-LCHlch(26.46, 50.64, 326.40°)
OKLaboklab(38.42% 0.1161 -0.0777)
OKLCHoklch(38.42% 0.14 326.2)
XYZxyz(8.6849, 4.9047, 14.1221)
Luminance0.0490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F6A #226A1F
analogous
#421F6A #671F6A #6A1F48
triadic
#671F6A #6A671F #1F6A67
tetradic
#671F6A #6A421F #226A1F #1F486A
square
#671F6A #6A421F #226A1F #1F486A
split-complementary
#671F6A #486A1F #1F6A42
monochromatic
#170718 #39113B #671F6A #952D99 #C13DC6

Accessibility & contrast

On white

10.60
#671F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#671F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F6A
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F6A#FFFFFF#000000##FFFFFF
##671F6A1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11396C
Deuteranopia (green-blind)
#2F4268
Tritanopia (blue-blind)
#6A2A42
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #671f6a;
/* rgb */ color: rgb(103, 31, 106);
/* oklch */ color: oklch(38.4% 0.140 326.2);
Tailwind
colors: {
  custom: {
    50: '#956295',
    500: '#671f6a',
    950: '#000000',
  },
}
SCSS
$custom: #671f6a;
$custom-light: #956295;
$custom-dark: #000000;
JSON
{
  "hex": "#671f6a",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 106
  },
  "hsl": {
    "h": 297.6,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.38421,
    "c": 0.13972,
    "h": 326.2
  },
  "luminance": 0.04904
}

Semantic roles & 50–950 ramp

primary
#671F6A
secondary
#4A9E47
accent
#DE4A50
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0E050D
muted
#7E7A7E

Preview Lab

Preview with #671F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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