#671D7F#671D7F

#671D7F is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.162 H 316.3°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#671D7F
RGBrgb(103, 29, 127)
HSLhsl(285, 63%, 31%)
HSVhsv(285, 77%, 50%)
CMYKcmyk(18.9%, 77.2%, 0%, 50.2%)
CIE-LABlab(27.56, 47.21, -39.67)
CIE-LCHlch(27.56, 61.66, 319.96°)
OKLaboklab(39.65% 0.117 -0.1117)
OKLCHoklch(39.65% 0.162 316.3)
XYZxyz(9.8631, 5.2950, 20.5771)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671D7F #357F1D
analogous
#361D7F #671D7F #7F1D66
triadic
#671D7F #7F671D #1D7F67
tetradic
#671D7F #7F361D #357F1D #1D667F
square
#671D7F #7F361D #357F1D #1D667F
split-complementary
#671D7F #667F1D #1D7F36
monochromatic
#16061B #3F124D #671D7F #8F28B1 #B042D4

Accessibility & contrast

On white

10.20
#671D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671D7F
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671D7F#FFFFFF#000000##FFFFFF
##671D7F1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#1D437D
Tritanopia (blue-blind)
#65324D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671d7f;
/* rgb */ color: rgb(103, 29, 127);
/* oklch */ color: oklch(39.6% 0.162 316.3);
Tailwind
colors: {
  custom: {
    50: '#9662a5',
    500: '#671d7f',
    950: '#000000',
  },
}
SCSS
$custom: #671d7f;
$custom-light: #9662a5;
$custom-dark: #000000;
JSON
{
  "hex": "#671d7f",
  "rgb": {
    "r": 103,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 285.306,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39648,
    "c": 0.16177,
    "h": 316.3
  },
  "luminance": 0.05295
}

Semantic roles & 50–950 ramp

primary
#671D7F
secondary
#60B245
accent
#E6426A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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