#671A76#671A76

#671A76 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.157 H 320.5°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#671A76
RGBrgb(103, 26, 118)
HSLhsl(290, 64%, 28%)
HSVhsv(290, 78%, 46%)
CMYKcmyk(12.7%, 78%, 0%, 53.7%)
CIE-LABlab(26.54, 46.49, -35.61)
CIE-LCHlch(26.54, 58.57, 322.55°)
OKLaboklab(38.72% 0.121 -0.0998)
OKLCHoklch(38.72% 0.157 320.5)
XYZxyz(9.2325, 4.9308, 17.6015)
Luminance0.0493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A76 #29761A
analogous
#391A76 #671A76 #761A57
triadic
#671A76 #76671A #1A7667
tetradic
#671A76 #76391A #29761A #1A5776
square
#671A76 #76391A #29761A #1A5776
split-complementary
#671A76 #57761A #1A7639
monochromatic
#160619 #3B0F44 #671A76 #9325A8 #BA37D3

Accessibility & contrast

On white

10.57
#671A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#671A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671A76
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A76#FFFFFF#000000##FFFFFF
##671A761.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A79
Deuteranopia (green-blind)
#244174
Tritanopia (blue-blind)
#682D47
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #671a76;
/* rgb */ color: rgb(103, 26, 118);
/* oklch */ color: oklch(38.7% 0.157 320.5);
Tailwind
colors: {
  custom: {
    50: '#96609e',
    500: '#671a76',
    950: '#000000',
  },
}
SCSS
$custom: #671a76;
$custom-light: #96609e;
$custom-dark: #000000;
JSON
{
  "hex": "#671a76",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 290.217,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38722,
    "c": 0.15685,
    "h": 320.5
  },
  "luminance": 0.0493
}

Semantic roles & 50–950 ramp

primary
#671A76
secondary
#52AB41
accent
#E7415C
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #671A76

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

Preview Lab → · Contrast checker → · Palette generator →

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