#671B87#671B87

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

Color values

HEX#671B87
RGBrgb(103, 27, 135)
HSLhsl(282, 67%, 32%)
HSVhsv(282, 80%, 53%)
CMYKcmyk(23.7%, 80%, 0%, 47.1%)
CIE-LABlab(27.89, 49.64, -44.15)
CIE-LCHlch(27.89, 66.43, 318.35°)
OKLaboklab(40.07% 0.1175 -0.1249)
OKLCHoklch(40.07% 0.171 313.3)
XYZxyz(10.3579, 5.4170, 23.4169)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B87 #3B871B
analogous
#311B87 #671B87 #871B71
triadic
#671B87 #87671B #1B8767
tetradic
#671B87 #87311B #3B871B #1B7187
square
#671B87 #87311B #3B871B #1B7187
split-complementary
#671B87 #71871B #1B8731
monochromatic
#190721 #401154 #671B87 #8E25BA #AD43D9

Accessibility & contrast

On white

10.08
#671B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671B87
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B87#FFFFFF#000000##FFFFFF
##671B871.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#0D4385
Tritanopia (blue-blind)
#643551
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #671b87;
/* rgb */ color: rgb(103, 27, 135);
/* oklch */ color: oklch(40.1% 0.171 313.3);
Tailwind
colors: {
  custom: {
    50: '#9661ab',
    500: '#671b87',
    950: '#000000',
  },
}
SCSS
$custom: #671b87;
$custom-light: #9661ab;
$custom-dark: #000000;
JSON
{
  "hex": "#671b87",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 282.222,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40069,
    "c": 0.17147,
    "h": 313.3
  },
  "luminance": 0.05417
}

Semantic roles & 50–950 ramp

primary
#671B87
secondary
#67BA44
accent
#EA3E71
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671B87

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

Preview Lab → · Contrast checker → · Palette generator →

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