#671F79#671F79

#671F79 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.154 H 318.8°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#671F79
RGBrgb(103, 31, 121)
HSLhsl(288, 59%, 30%)
HSVhsv(288, 74%, 47%)
CMYKcmyk(14.9%, 74.4%, 0%, 52.5%)
CIE-LABlab(27.42, 45.16, -36.10)
CIE-LCHlch(27.42, 57.82, 321.36°)
OKLaboklab(39.42% 0.1156 -0.1013)
OKLCHoklch(39.42% 0.154 318.8)
XYZxyz(9.5342, 5.2445, 18.5955)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F79 #31791F
analogous
#3A1F79 #671F79 #791F5E
triadic
#671F79 #79671F #1F7967
tetradic
#671F79 #793A1F #31791F #1F5E79
square
#671F79 #793A1F #31791F #1F5E79
split-complementary
#671F79 #5E791F #1F793A
monochromatic
#150618 #3E1348 #671F79 #902BAA #B343CF

Accessibility & contrast

On white

10.25
#671F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#671F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F79
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F79#FFFFFF#000000##FFFFFF
##671F791.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#244377
Tritanopia (blue-blind)
#67314A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671f79;
/* rgb */ color: rgb(103, 31, 121);
/* oklch */ color: oklch(39.4% 0.154 318.8);
Tailwind
colors: {
  custom: {
    50: '#9662a0',
    500: '#671f79',
    950: '#000000',
  },
}
SCSS
$custom: #671f79;
$custom-light: #9662a0;
$custom-dark: #000000;
JSON
{
  "hex": "#671f79",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 288,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39416,
    "c": 0.15369,
    "h": 318.8
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

primary
#671F79
secondary
#5CAC47
accent
#E24565
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #671F79

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

Preview Lab → · Contrast checker → · Palette generator →

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