#671C79#671C79

#671C79 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.157 H 319.0°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#671C79
RGBrgb(103, 28, 121)
HSLhsl(288, 62%, 29%)
HSVhsv(288, 77%, 47%)
CMYKcmyk(14.9%, 76.9%, 0%, 52.5%)
CIE-LABlab(27.00, 46.35, -36.77)
CIE-LCHlch(27.00, 59.16, 321.58°)
OKLaboklab(39.12% 0.1187 -0.1032)
OKLCHoklch(39.12% 0.157 319)
XYZxyz(9.4595, 5.0950, 18.5706)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C79 #2E791C
analogous
#391C79 #671C79 #791C5D
triadic
#671C79 #79671C #1C7967
tetradic
#671C79 #79391C #2E791C #1C5D79
square
#671C79 #79391C #2E791C #1C5D79
split-complementary
#671C79 #5D791C #1C7939
monochromatic
#150619 #3D1047 #671C79 #9128AB #B53DD2

Accessibility & contrast

On white

10.40
#671C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#671C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671C79
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671C79#FFFFFF#000000##FFFFFF
##671C791.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#224277
Tritanopia (blue-blind)
#672F49
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671c79;
/* rgb */ color: rgb(103, 28, 121);
/* oklch */ color: oklch(39.1% 0.157 319.0);
Tailwind
colors: {
  custom: {
    50: '#9661a0',
    500: '#671c79',
    950: '#000000',
  },
}
SCSS
$custom: #671c79;
$custom-light: #9661a0;
$custom-dark: #000000;
JSON
{
  "hex": "#671c79",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 288.387,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3912,
    "c": 0.15731,
    "h": 319
  },
  "luminance": 0.05095
}

Semantic roles & 50–950 ramp

primary
#671C79
secondary
#58AD44
accent
#E54262
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #671C79

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

Preview Lab → · Contrast checker → · Palette generator →

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