#671E88#671E88

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

Color values

HEX#671E88
RGBrgb(103, 30, 136)
HSLhsl(281, 64%, 33%)
HSVhsv(281, 78%, 53%)
CMYKcmyk(24.3%, 77.9%, 0%, 46.7%)
CIE-LABlab(28.35, 48.74, -44.03)
CIE-LCHlch(28.35, 65.68, 317.91°)
OKLaboklab(40.42% 0.1146 -0.1245)
OKLCHoklch(40.42% 0.169 312.6)
XYZxyz(10.5009, 5.5900, 23.8136)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E88 #3F881E
analogous
#321E88 #671E88 #881E74
triadic
#671E88 #88671E #1E8867
tetradic
#671E88 #88321E #3F881E #1E7488
square
#671E88 #88321E #3F881E #1E7488
split-complementary
#671E88 #74881E #1E8832
monochromatic
#1B0824 #411356 #671E88 #8D29BA #AB49D7

Accessibility & contrast

On white

9.92
#671E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671E88
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671E88#FFFFFF#000000##FFFFFF
##671E881.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#0F4486
Tritanopia (blue-blind)
#633752
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671e88;
/* rgb */ color: rgb(103, 30, 136);
/* oklch */ color: oklch(40.4% 0.169 312.6);
Tailwind
colors: {
  custom: {
    50: '#9662ab',
    500: '#671e88',
    950: '#000000',
  },
}
SCSS
$custom: #671e88;
$custom-light: #9662ab;
$custom-dark: #000000;
JSON
{
  "hex": "#671e88",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 281.321,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40419,
    "c": 0.16923,
    "h": 312.6
  },
  "luminance": 0.0559
}

Semantic roles & 50–950 ramp

primary
#671E88
secondary
#6CB949
accent
#E74175
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671E88

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

Preview Lab → · Contrast checker → · Palette generator →

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