#671F8F#671F8F

#671F8F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.175 H 309.9°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#671F8F
RGBrgb(103, 31, 143)
HSLhsl(279, 64%, 34%)
HSVhsv(279, 78%, 56%)
CMYKcmyk(28%, 78.3%, 0%, 43.9%)
CIE-LABlab(29.02, 49.90, -47.29)
CIE-LCHlch(29.02, 68.74, 316.54°)
OKLaboklab(41.06% 0.1123 -0.1341)
OKLCHoklch(41.06% 0.175 309.9)
XYZxyz(11.0404, 5.8469, 26.5282)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F8F #478F1F
analogous
#2F1F8F #671F8F #8F1F7F
triadic
#671F8F #8F671F #1F8F67
tetradic
#671F8F #8F2F1F #478F1F #1F7F8F
square
#671F8F #8F2F1F #478F1F #1F7F8F
split-complementary
#671F8F #7F8F1F #1F8F2F
monochromatic
#1F092A #43145D #671F8F #8B2AC1 #A84FD9

Accessibility & contrast

On white

9.68
#671F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#671F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F8F
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F8F#FFFFFF#000000##FFFFFF
##671F8F1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#613A56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #671f8f;
/* rgb */ color: rgb(103, 31, 143);
/* oklch */ color: oklch(41.1% 0.175 309.9);
Tailwind
colors: {
  custom: {
    50: '#9763b1',
    500: '#671f8f',
    950: '#000000',
  },
}
SCSS
$custom: #671f8f;
$custom-light: #9763b1;
$custom-dark: #000000;
JSON
{
  "hex": "#671f8f",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 278.571,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41059,
    "c": 0.17492,
    "h": 309.9
  },
  "luminance": 0.05847
}

Semantic roles & 50–950 ramp

primary
#671F8F
secondary
#75BC4E
accent
#E7407C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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