#671F8A#671F8A

#671F8A is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.170 H 311.8°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#671F8A
RGBrgb(103, 31, 138)
HSLhsl(280, 63%, 33%)
HSVhsv(280, 78%, 54%)
CMYKcmyk(25.4%, 77.5%, 0%, 45.9%)
CIE-LABlab(28.64, 48.79, -44.81)
CIE-LCHlch(28.64, 66.25, 317.43°)
OKLaboklab(40.67% 0.1133 -0.1268)
OKLCHoklch(40.67% 0.17 311.8)
XYZxyz(10.6701, 5.6988, 24.5777)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F8A #428A1F
analogous
#311F8A #671F8A #8A1F77
triadic
#671F8A #8A671F #1F8A67
tetradic
#671F8A #8A311F #428A1F #1F778A
square
#671F8A #8A311F #428A1F #1F778A
split-complementary
#671F8A #778A1F #1F8A31
monochromatic
#1C0926 #421458 #671F8A #8C2ABC #AA4CD7

Accessibility & contrast

On white

9.81
#671F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#671F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F8A
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F8A#FFFFFF#000000##FFFFFF
##671F8A1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#0C4588
Tritanopia (blue-blind)
#633853
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #671f8a;
/* rgb */ color: rgb(103, 31, 138);
/* oklch */ color: oklch(40.7% 0.170 311.8);
Tailwind
colors: {
  custom: {
    50: '#9663ad',
    500: '#671f8a',
    950: '#000000',
  },
}
SCSS
$custom: #671f8a;
$custom-light: #9663ad;
$custom-dark: #000000;
JSON
{
  "hex": "#671f8a",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 280.374,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40668,
    "c": 0.17006,
    "h": 311.8
  },
  "luminance": 0.05699
}

Semantic roles & 50–950 ramp

primary
#671F8A
secondary
#6FBA4B
accent
#E64177
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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