#671E89#671E89

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

Color values

HEX#671E89
RGBrgb(103, 30, 137)
HSLhsl(281, 64%, 33%)
HSVhsv(281, 78%, 54%)
CMYKcmyk(24.8%, 78.1%, 0%, 46.3%)
CIE-LABlab(28.43, 48.96, -44.53)
CIE-LCHlch(28.43, 66.18, 317.71°)
OKLaboklab(40.5% 0.1144 -0.126)
OKLCHoklch(40.5% 0.17 312.2)
XYZxyz(10.5723, 5.6186, 24.1896)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E89 #40891E
analogous
#321E89 #671E89 #891E75
triadic
#671E89 #89671E #1E8967
tetradic
#671E89 #89321E #40891E #1E7589
square
#671E89 #89321E #40891E #1E7589
split-complementary
#671E89 #75891E #1E8932
monochromatic
#1C0825 #411357 #671E89 #8D29BB #AA4AD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##671E89#FFFFFF#000000##FFFFFF
##671E891.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)
#00408C
Deuteranopia (green-blind)
#0D4487
Tritanopia (blue-blind)
#633753
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671e89;
/* rgb */ color: rgb(103, 30, 137);
/* oklch */ color: oklch(40.5% 0.170 312.2);
Tailwind
colors: {
  custom: {
    50: '#9662ac',
    500: '#671e89',
    950: '#000000',
  },
}
SCSS
$custom: #671e89;
$custom-light: #9662ac;
$custom-dark: #000000;
JSON
{
  "hex": "#671e89",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 280.935,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40496,
    "c": 0.17019,
    "h": 312.2
  },
  "luminance": 0.05618
}

Semantic roles & 50–950 ramp

primary
#671E89
secondary
#6DBA49
accent
#E74176
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671E89

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

Preview Lab → · Contrast checker → · Palette generator →

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