#671F5F#671F5F

#671F5F is a dark, vivid purple. Relative luminance 0.047; OKLCH L 37.8% C 0.130 H 332.6°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#671F5F
RGBrgb(103, 31, 95)
HSLhsl(307, 54%, 26%)
HSVhsv(307, 70%, 40%)
CMYKcmyk(0%, 69.9%, 7.8%, 59.6%)
CIE-LABlab(25.83, 40.16, -21.86)
CIE-LCHlch(25.83, 45.72, 331.44°)
OKLaboklab(37.76% 0.1154 -0.0599)
OKLCHoklch(37.76% 0.13 332.6)
XYZxyz(8.1491, 4.6904, 11.3004)
Luminance0.0469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F5F #1F6727
analogous
#4B1F67 #671F5F #671F3B
triadic
#671F5F #5F671F #1F5F67
tetradic
#671F5F #674B1F #1F6727 #1F3B67
square
#671F5F #674B1F #1F6727 #1F3B67
split-complementary
#671F5F #3B671F #1F674B
monochromatic
#180716 #381134 #671F5F #962D8A #C43CB5

Accessibility & contrast

On white

10.84
#671F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#671F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F5F
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F5F#FFFFFF#000000##FFFFFF
##671F5F1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3761
Deuteranopia (green-blind)
#35415D
Tritanopia (blue-blind)
#6C263C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #671f5f;
/* rgb */ color: rgb(103, 31, 95);
/* oklch */ color: oklch(37.8% 0.130 332.6);
Tailwind
colors: {
  custom: {
    50: '#95618c',
    500: '#671f5f',
    950: '#000000',
  },
}
SCSS
$custom: #671f5f;
$custom-light: #95618c;
$custom-dark: #000000;
JSON
{
  "hex": "#671f5f",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 95
  },
  "hsl": {
    "h": 306.667,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.37764,
    "c": 0.13002,
    "h": 332.6
  },
  "luminance": 0.0469
}

Semantic roles & 50–950 ramp

primary
#671F5F
secondary
#469B50
accent
#DD5B4B
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #671F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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