#671B86#671B86

#671B86 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.171 H 313.6°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#671B86
RGBrgb(103, 27, 134)
HSLhsl(283, 66%, 32%)
HSVhsv(283, 80%, 53%)
CMYKcmyk(23.1%, 79.9%, 0%, 47.5%)
CIE-LABlab(27.82, 49.43, -43.65)
CIE-LCHlch(27.82, 65.94, 318.55°)
OKLaboklab(39.99% 0.1177 -0.1234)
OKLCHoklch(39.99% 0.171 313.6)
XYZxyz(10.2878, 5.3890, 23.0479)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B86 #3A861B
analogous
#321B86 #671B86 #861B70
triadic
#671B86 #86671B #1B8667
tetradic
#671B86 #86321B #3A861B #1B7086
square
#671B86 #86321B #3A861B #1B7086
split-complementary
#671B86 #70861B #1B8632
monochromatic
#190620 #401153 #671B86 #8E25B9 #AD42D9

Accessibility & contrast

On white

10.11
#671B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#671B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671B86
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B86#FFFFFF#000000##FFFFFF
##671B861.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#0F4384
Tritanopia (blue-blind)
#643450
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #671b86;
/* rgb */ color: rgb(103, 27, 134);
/* oklch */ color: oklch(40.0% 0.171 313.6);
Tailwind
colors: {
  custom: {
    50: '#9661aa',
    500: '#671b86',
    950: '#000000',
  },
}
SCSS
$custom: #671b86;
$custom-light: #9661aa;
$custom-dark: #000000;
JSON
{
  "hex": "#671b86",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 282.617,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39992,
    "c": 0.17053,
    "h": 313.6
  },
  "luminance": 0.05389
}

Semantic roles & 50–950 ramp

primary
#671B86
secondary
#66B944
accent
#E93E70
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671B86

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

Preview Lab → · Contrast checker → · Palette generator →

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