#671B71#671B71

#671B71 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.5% C 0.151 H 322.8°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#671B71
RGBrgb(103, 27, 113)
HSLhsl(293, 61%, 27%)
HSVhsv(293, 76%, 44%)
CMYKcmyk(8.8%, 76.1%, 0%, 55.7%)
CIE-LABlab(26.33, 45.14, -32.74)
CIE-LCHlch(26.33, 55.76, 324.05°)
OKLaboklab(38.47% 0.1204 -0.0914)
OKLCHoklch(38.47% 0.151 322.8)
XYZxyz(8.9658, 4.8602, 16.0854)
Luminance0.0486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B71 #25711B
analogous
#3C1B71 #671B71 #711B50
triadic
#671B71 #71671B #1B7167
tetradic
#671B71 #713C1B #25711B #1B5071
square
#671B71 #713C1B #25711B #1B5071
split-complementary
#671B71 #50711B #1B713C
monochromatic
#170619 #3A0F40 #671B71 #9427A2 #BE37CF

Accessibility & contrast

On white

10.65
#671B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#671B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671B71
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B71#FFFFFF#000000##FFFFFF
##671B711.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671b71;
/* rgb */ color: rgb(103, 27, 113);
/* oklch */ color: oklch(38.5% 0.151 322.8);
Tailwind
colors: {
  custom: {
    50: '#95609a',
    500: '#671b71',
    950: '#000000',
  },
}
SCSS
$custom: #671b71;
$custom-light: #95609a;
$custom-dark: #000000;
JSON
{
  "hex": "#671b71",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 293.023,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3847,
    "c": 0.15117,
    "h": 322.8
  },
  "luminance": 0.0486
}

Semantic roles & 50–950 ramp

primary
#671B71
secondary
#4EA642
accent
#E54356
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #671B71

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

Preview Lab → · Contrast checker → · Palette generator →

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