#671F80#671F80

#671F80 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.9% C 0.160 H 315.7°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#671F80
RGBrgb(103, 31, 128)
HSLhsl(285, 61%, 31%)
HSVhsv(285, 76%, 50%)
CMYKcmyk(19.5%, 75.8%, 0%, 49.8%)
CIE-LABlab(27.91, 46.63, -39.74)
CIE-LCHlch(27.91, 61.27, 319.56°)
OKLaboklab(39.92% 0.1149 -0.112)
OKLCHoklch(39.92% 0.16 315.7)
XYZxyz(9.9792, 5.4224, 20.9389)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F80 #38801F
analogous
#361F80 #671F80 #801F68
triadic
#671F80 #80671F #1F8067
tetradic
#671F80 #80361F #38801F #1F6880
square
#671F80 #80361F #38801F #1F6880
split-complementary
#671F80 #68801F #1F8036
monochromatic
#18071D #3F134F #671F80 #8F2BB1 #AE47D2

Accessibility & contrast

On white

10.07
#671F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#671F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F80
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F80#FFFFFF#000000##FFFFFF
##671F801.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671f80;
/* rgb */ color: rgb(103, 31, 128);
/* oklch */ color: oklch(39.9% 0.160 315.7);
Tailwind
colors: {
  custom: {
    50: '#9662a5',
    500: '#671f80',
    950: '#000000',
  },
}
SCSS
$custom: #671f80;
$custom-light: #9662a5;
$custom-dark: #000000;
JSON
{
  "hex": "#671f80",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 284.536,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39916,
    "c": 0.16039,
    "h": 315.7
  },
  "luminance": 0.05422
}

Semantic roles & 50–950 ramp

primary
#671F80
secondary
#63B348
accent
#E4446D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #671F80

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

Preview Lab → · Contrast checker → · Palette generator →

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