#671F87#671F87

#671F87 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.167 H 312.9°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#671F87
RGBrgb(103, 31, 135)
HSLhsl(282, 63%, 33%)
HSVhsv(282, 77%, 53%)
CMYKcmyk(23.7%, 77%, 0%, 47.1%)
CIE-LABlab(28.41, 48.13, -43.31)
CIE-LCHlch(28.41, 64.75, 318.02°)
OKLaboklab(40.44% 0.1138 -0.1224)
OKLCHoklch(40.44% 0.167 312.9)
XYZxyz(10.4559, 5.6131, 23.4496)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F87 #3F871F
analogous
#331F87 #671F87 #871F73
triadic
#671F87 #87671F #1F8767
tetradic
#671F87 #87331F #3F871F #1F7387
square
#671F87 #87331F #3F871F #1F7387
split-complementary
#671F87 #73871F #1F8733
monochromatic
#1B0823 #411455 #671F87 #8D2AB9 #AB4BD6

Accessibility & contrast

On white

9.89
#671F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#671F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F87
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F87#FFFFFF#000000##FFFFFF
##671F871.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671f87;
/* rgb */ color: rgb(103, 31, 135);
/* oklch */ color: oklch(40.4% 0.167 312.9);
Tailwind
colors: {
  custom: {
    50: '#9663ab',
    500: '#671f87',
    950: '#000000',
  },
}
SCSS
$custom: #671f87;
$custom-light: #9663ab;
$custom-dark: #000000;
JSON
{
  "hex": "#671f87",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 281.538,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40438,
    "c": 0.16715,
    "h": 312.9
  },
  "luminance": 0.05613
}

Semantic roles & 50–950 ramp

primary
#671F87
secondary
#6CB84A
accent
#E64274
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671F87

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

Preview Lab → · Contrast checker → · Palette generator →

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