#671E71#671E71

#671E71 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.8% C 0.147 H 322.6°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#671E71
RGBrgb(103, 30, 113)
HSLhsl(293, 58%, 28%)
HSVhsv(293, 73%, 44%)
CMYKcmyk(8.8%, 73.5%, 0%, 55.7%)
CIE-LABlab(26.75, 43.96, -32.08)
CIE-LCHlch(26.75, 54.41, 323.88°)
OKLaboklab(38.77% 0.1172 -0.0895)
OKLCHoklch(38.77% 0.147 322.6)
XYZxyz(9.0381, 5.0049, 16.1096)
Luminance0.0500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E71 #28711E
analogous
#3D1E71 #671E71 #711E51
triadic
#671E71 #71671E #1E7167
tetradic
#671E71 #713D1E #28711E #1E5171
square
#671E71 #713D1E #28711E #1E5171
split-complementary
#671E71 #51711E #1E713D
monochromatic
#160618 #3B1141 #671E71 #932BA1 #BB3ECC

Accessibility & contrast

On white

10.50
#671E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#671E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671E71
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671E71#FFFFFF#000000##FFFFFF
##671E711.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023A73
Deuteranopia (green-blind)
#2A426F
Tritanopia (blue-blind)
#682D45
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #671e71;
/* rgb */ color: rgb(103, 30, 113);
/* oklch */ color: oklch(38.8% 0.147 322.6);
Tailwind
colors: {
  custom: {
    50: '#95619a',
    500: '#671e71',
    950: '#000000',
  },
}
SCSS
$custom: #671e71;
$custom-light: #95619a;
$custom-dark: #000000;
JSON
{
  "hex": "#671e71",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 292.771,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38767,
    "c": 0.14746,
    "h": 322.6
  },
  "luminance": 0.05004
}

Semantic roles & 50–950 ramp

primary
#671E71
secondary
#51A546
accent
#E14759
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #671E71

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

Preview Lab → · Contrast checker → · Palette generator →

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