#671F71#671F71

#671F71 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 38.9% C 0.146 H 322.6°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#671F71
RGBrgb(103, 31, 113)
HSLhsl(293, 57%, 28%)
HSVhsv(293, 73%, 44%)
CMYKcmyk(8.8%, 72.6%, 0%, 55.7%)
CIE-LABlab(26.89, 43.54, -31.84)
CIE-LCHlch(26.89, 53.94, 323.82°)
OKLaboklab(38.87% 0.1161 -0.0888)
OKLCHoklch(38.87% 0.146 322.6)
XYZxyz(9.0638, 5.0563, 16.1181)
Luminance0.0506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F71 #29711F
analogous
#3E1F71 #671F71 #711F52
triadic
#671F71 #71671F #1F7167
tetradic
#671F71 #713E1F #29711F #1F5271
square
#671F71 #713E1F #29711F #1F5271
split-complementary
#671F71 #52711F #1F713E
monochromatic
#160718 #3B1241 #671F71 #932CA1 #BA40CB

Accessibility & contrast

On white

10.44
#671F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#671F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F71
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F71#FFFFFF#000000##FFFFFF
##671F711.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043A73
Deuteranopia (green-blind)
#2B426F
Tritanopia (blue-blind)
#682D45
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671f71;
/* rgb */ color: rgb(103, 31, 113);
/* oklch */ color: oklch(38.9% 0.146 322.6);
Tailwind
colors: {
  custom: {
    50: '#95629a',
    500: '#671f71',
    950: '#000000',
  },
}
SCSS
$custom: #671f71;
$custom-light: #95629a;
$custom-dark: #000000;
JSON
{
  "hex": "#671f71",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 292.683,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38872,
    "c": 0.14616,
    "h": 322.6
  },
  "luminance": 0.05056
}

Semantic roles & 50–950 ramp

primary
#671F71
secondary
#52A547
accent
#E0485A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #671F71

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

Preview Lab → · Contrast checker → · Palette generator →

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