#671F81#671F81

#671F81 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.161 H 315.3°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#671F81
RGBrgb(103, 31, 129)
HSLhsl(284, 61%, 31%)
HSVhsv(284, 76%, 51%)
CMYKcmyk(20.2%, 76%, 0%, 49.4%)
CIE-LABlab(27.98, 46.84, -40.26)
CIE-LCHlch(27.98, 61.76, 319.32°)
OKLaboklab(39.99% 0.1147 -0.1135)
OKLCHoklch(39.99% 0.161 315.3)
XYZxyz(10.0453, 5.4489, 21.2872)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F81 #39811F
analogous
#361F81 #671F81 #811F6A
triadic
#671F81 #81671F #1F8167
tetradic
#671F81 #81361F #39811F #1F6A81
square
#671F81 #81361F #39811F #1F6A81
split-complementary
#671F81 #6A811F #1F8136
monochromatic
#18071E #401350 #671F81 #8E2BB2 #AE47D3

Accessibility & contrast

On white

10.05
#671F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#671F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F81
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F81#FFFFFF#000000##FFFFFF
##671F811.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#1C447F
Tritanopia (blue-blind)
#65344E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #671f81;
/* rgb */ color: rgb(103, 31, 129);
/* oklch */ color: oklch(40.0% 0.161 315.3);
Tailwind
colors: {
  custom: {
    50: '#9663a6',
    500: '#671f81',
    950: '#000000',
  },
}
SCSS
$custom: #671f81;
$custom-light: #9663a6;
$custom-dark: #000000;
JSON
{
  "hex": "#671f81",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 129
  },
  "hsl": {
    "h": 284.082,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3999,
    "c": 0.16135,
    "h": 315.3
  },
  "luminance": 0.05449
}

Semantic roles & 50–950 ramp

primary
#671F81
secondary
#65B448
accent
#E4436E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #671F81

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

Preview Lab → · Contrast checker → · Palette generator →

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