#671F88#671F88

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

Color values

HEX#671F88
RGBrgb(103, 31, 136)
HSLhsl(281, 63%, 33%)
HSVhsv(281, 77%, 53%)
CMYKcmyk(24.3%, 77.2%, 0%, 46.7%)
CIE-LABlab(28.49, 48.35, -43.81)
CIE-LCHlch(28.49, 65.25, 317.82°)
OKLaboklab(40.51% 0.1136 -0.1239)
OKLCHoklch(40.51% 0.168 312.5)
XYZxyz(10.5266, 5.6414, 23.8222)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F88 #40881F
analogous
#331F88 #671F88 #881F74
triadic
#671F88 #88671F #1F8867
tetradic
#671F88 #88331F #40881F #1F7488
square
#671F88 #88331F #40881F #1F7488
split-complementary
#671F88 #74881F #1F8833
monochromatic
#1C0824 #411456 #671F88 #8D2ABA #AA4BD6

Accessibility & contrast

On white

9.87
#671F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#671F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F88
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F88#FFFFFF#000000##FFFFFF
##671F881.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#114586
Tritanopia (blue-blind)
#633752
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671f88;
/* rgb */ color: rgb(103, 31, 136);
/* oklch */ color: oklch(40.5% 0.168 312.5);
Tailwind
colors: {
  custom: {
    50: '#9663ab',
    500: '#671f88',
    950: '#000000',
  },
}
SCSS
$custom: #671f88;
$custom-light: #9663ab;
$custom-dark: #000000;
JSON
{
  "hex": "#671f88",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 136
  },
  "hsl": {
    "h": 281.143,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40514,
    "c": 0.16812,
    "h": 312.5
  },
  "luminance": 0.05641
}

Semantic roles & 50–950 ramp

primary
#671F88
secondary
#6DB94A
accent
#E64275
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671F88

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

Preview Lab → · Contrast checker → · Palette generator →

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