#671F7F#671F7F

#671F7F is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.8% C 0.159 H 316.2°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#671F7F
RGBrgb(103, 31, 127)
HSLhsl(285, 61%, 31%)
HSVhsv(285, 76%, 50%)
CMYKcmyk(18.9%, 75.6%, 0%, 50.2%)
CIE-LABlab(27.84, 46.42, -39.23)
CIE-LCHlch(27.84, 60.77, 319.80°)
OKLaboklab(39.84% 0.115 -0.1104)
OKLCHoklch(39.84% 0.159 316.2)
XYZxyz(9.9137, 5.3962, 20.5939)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F7F #377F1F
analogous
#371F7F #671F7F #7F1F67
triadic
#671F7F #7F671F #1F7F67
tetradic
#671F7F #7F371F #377F1F #1F677F
square
#671F7F #7F371F #377F1F #1F677F
split-complementary
#671F7F #677F1F #1F7F37
monochromatic
#17071D #3F134E #671F7F #8F2BB0 #AF46D2

Accessibility & contrast

On white

10.10
#671F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#671F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F7F
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F7F#FFFFFF#000000##FFFFFF
##671F7F1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#1E447D
Tritanopia (blue-blind)
#65334D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #671f7f;
/* rgb */ color: rgb(103, 31, 127);
/* oklch */ color: oklch(39.8% 0.159 316.2);
Tailwind
colors: {
  custom: {
    50: '#9662a5',
    500: '#671f7f',
    950: '#000000',
  },
}
SCSS
$custom: #671f7f;
$custom-light: #9662a5;
$custom-dark: #000000;
JSON
{
  "hex": "#671f7f",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 127
  },
  "hsl": {
    "h": 285,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39844,
    "c": 0.15943,
    "h": 316.2
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

primary
#671F7F
secondary
#62B248
accent
#E4446C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #671F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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