#671F82#671F82

#671F82 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.1% C 0.162 H 314.9°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#671F82
RGBrgb(103, 31, 130)
HSLhsl(284, 61%, 32%)
HSVhsv(284, 76%, 51%)
CMYKcmyk(20.8%, 76.2%, 0%, 49%)
CIE-LABlab(28.05, 47.06, -40.77)
CIE-LCHlch(28.05, 62.26, 319.10°)
OKLaboklab(40.06% 0.1146 -0.115)
OKLCHoklch(40.06% 0.162 314.9)
XYZxyz(10.1121, 5.4756, 21.6390)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F82 #3A821F
analogous
#351F82 #671F82 #821F6C
triadic
#671F82 #82671F #1F8267
tetradic
#671F82 #82351F #3A821F #1F6C82
square
#671F82 #82351F #3A821F #1F6C82
split-complementary
#671F82 #6C821F #1F8235
monochromatic
#19071F #401351 #671F82 #8E2BB3 #AD48D3

Accessibility & contrast

On white

10.02
#671F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#671F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F82
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F82#FFFFFF#000000##FFFFFF
##671F821.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#1B4480
Tritanopia (blue-blind)
#65354F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #671f82;
/* rgb */ color: rgb(103, 31, 130);
/* oklch */ color: oklch(40.1% 0.162 314.9);
Tailwind
colors: {
  custom: {
    50: '#9663a7',
    500: '#671f82',
    950: '#000000',
  },
}
SCSS
$custom: #671f82;
$custom-light: #9663a7;
$custom-dark: #000000;
JSON
{
  "hex": "#671f82",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 283.636,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40063,
    "c": 0.16232,
    "h": 314.9
  },
  "luminance": 0.05475
}

Semantic roles & 50–950 ramp

primary
#671F82
secondary
#66B548
accent
#E5436F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #671F82

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

Preview Lab → · Contrast checker → · Palette generator →

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