#671E87#671E87

#671E87 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.168 H 313.0°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#671E87
RGBrgb(103, 30, 135)
HSLhsl(282, 64%, 32%)
HSVhsv(282, 78%, 53%)
CMYKcmyk(23.7%, 77.8%, 0%, 47.1%)
CIE-LABlab(28.28, 48.52, -43.53)
CIE-LCHlch(28.28, 65.18, 318.11°)
OKLaboklab(40.34% 0.1148 -0.1231)
OKLCHoklch(40.34% 0.168 313)
XYZxyz(10.4302, 5.5617, 23.4411)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E87 #3E871E
analogous
#321E87 #671E87 #871E73
triadic
#671E87 #87671E #1E8767
tetradic
#671E87 #87321E #3E871E #1E7387
square
#671E87 #87321E #3E871E #1E7387
split-complementary
#671E87 #73871E #1E8732
monochromatic
#1B0823 #411355 #671E87 #8D29B9 #AB49D7

Accessibility & contrast

On white

9.94
#671E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#671E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671E87
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671E87#FFFFFF#000000##FFFFFF
##671E871.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#114485
Tritanopia (blue-blind)
#633651
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671e87;
/* rgb */ color: rgb(103, 30, 135);
/* oklch */ color: oklch(40.3% 0.168 313.0);
Tailwind
colors: {
  custom: {
    50: '#9662ab',
    500: '#671e87',
    950: '#000000',
  },
}
SCSS
$custom: #671e87;
$custom-light: #9662ab;
$custom-dark: #000000;
JSON
{
  "hex": "#671e87",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 281.714,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40342,
    "c": 0.16827,
    "h": 313
  },
  "luminance": 0.05561
}

Semantic roles & 50–950 ramp

primary
#671E87
secondary
#6AB948
accent
#E74174
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671E87

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

Preview Lab → · Contrast checker → · Palette generator →

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