#671F89#671F89

#671F89 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.169 H 312.1°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#671F89
RGBrgb(103, 31, 137)
HSLhsl(281, 63%, 33%)
HSVhsv(281, 77%, 54%)
CMYKcmyk(24.8%, 77.4%, 0%, 46.3%)
CIE-LABlab(28.56, 48.57, -44.31)
CIE-LCHlch(28.56, 65.75, 317.63°)
OKLaboklab(40.59% 0.1135 -0.1254)
OKLCHoklch(40.59% 0.169 312.1)
XYZxyz(10.5980, 5.6700, 24.1982)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F89 #41891F
analogous
#321F89 #671F89 #891F76
triadic
#671F89 #89671F #1F8967
tetradic
#671F89 #89321F #41891F #1F7689
square
#671F89 #89321F #41891F #1F7689
split-complementary
#671F89 #76891F #1F8932
monochromatic
#1C0825 #411457 #671F89 #8D2ABB #AA4CD6

Accessibility & contrast

On white

9.84
#671F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671F89
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F89#FFFFFF#000000##FFFFFF
##671F891.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#0F4587
Tritanopia (blue-blind)
#633853
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671f89;
/* rgb */ color: rgb(103, 31, 137);
/* oklch */ color: oklch(40.6% 0.169 312.1);
Tailwind
colors: {
  custom: {
    50: '#9663ac',
    500: '#671f89',
    950: '#000000',
  },
}
SCSS
$custom: #671f89;
$custom-light: #9663ac;
$custom-dark: #000000;
JSON
{
  "hex": "#671f89",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 280.755,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40591,
    "c": 0.16909,
    "h": 312.1
  },
  "luminance": 0.0567
}

Semantic roles & 50–950 ramp

primary
#671F89
secondary
#6EB94B
accent
#E64276
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671F89

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

Preview Lab → · Contrast checker → · Palette generator →

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