#671A71#671A71

#671A71 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.152 H 322.8°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#671A71
RGBrgb(103, 26, 113)
HSLhsl(293, 63%, 27%)
HSVhsv(293, 77%, 44%)
CMYKcmyk(8.8%, 77%, 0%, 55.7%)
CIE-LABlab(26.20, 45.51, -32.95)
CIE-LCHlch(26.20, 56.19, 324.10°)
OKLaboklab(38.38% 0.1214 -0.092)
OKLCHoklch(38.38% 0.152 322.8)
XYZxyz(8.9433, 4.8151, 16.0779)
Luminance0.0481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A71 #24711A
analogous
#3B1A71 #671A71 #711A50
triadic
#671A71 #71671A #1A7167
tetradic
#671A71 #713B1A #24711A #1A5071
square
#671A71 #713B1A #24711A #1A5071
split-complementary
#671A71 #50711A #1A713B
monochromatic
#170619 #3A0F3F #671A71 #9425A3 #BF35D0

Accessibility & contrast

On white

10.70
#671A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#671A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671A71
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A71#FFFFFF#000000##FFFFFF
##671A711.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#28416F
Tritanopia (blue-blind)
#692A44
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #671a71;
/* rgb */ color: rgb(103, 26, 113);
/* oklch */ color: oklch(38.4% 0.152 322.8);
Tailwind
colors: {
  custom: {
    50: '#96609a',
    500: '#671a71',
    950: '#000000',
  },
}
SCSS
$custom: #671a71;
$custom-light: #96609a;
$custom-dark: #000000;
JSON
{
  "hex": "#671a71",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 293.103,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.38376,
    "c": 0.15235,
    "h": 322.8
  },
  "luminance": 0.04815
}

Semantic roles & 50–950 ramp

primary
#671A71
secondary
#4CA641
accent
#E64255
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #671A71

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

Preview Lab → · Contrast checker → · Palette generator →

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