#671D78#671D78

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

Color values

HEX#671D78
RGBrgb(103, 29, 120)
HSLhsl(289, 61%, 29%)
HSVhsv(289, 76%, 47%)
CMYKcmyk(14.2%, 75.8%, 0%, 52.9%)
CIE-LABlab(27.07, 45.76, -36.03)
CIE-LCHlch(27.07, 58.24, 321.79°)
OKLaboklab(39.15% 0.1178 -0.101)
OKLCHoklch(39.15% 0.155 319.4)
XYZxyz(9.4226, 5.1188, 18.2574)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671D78 #2E781D
analogous
#3A1D78 #671D78 #781D5C
triadic
#671D78 #78671D #1D7867
tetradic
#671D78 #783A1D #2E781D #1D5C78
square
#671D78 #783A1D #2E781D #1D5C78
split-complementary
#671D78 #5C781D #1D783A
monochromatic
#150619 #3D1147 #671D78 #9129A9 #B53FD1

Accessibility & contrast

On white

10.38
#671D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671D78
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671D78#FFFFFF#000000##FFFFFF
##671D781.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671d78;
/* rgb */ color: rgb(103, 29, 120);
/* oklch */ color: oklch(39.1% 0.155 319.4);
Tailwind
colors: {
  custom: {
    50: '#96619f',
    500: '#671d78',
    950: '#000000',
  },
}
SCSS
$custom: #671d78;
$custom-light: #96619f;
$custom-dark: #000000;
JSON
{
  "hex": "#671d78",
  "rgb": {
    "r": 103,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 288.791,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39145,
    "c": 0.1552,
    "h": 319.4
  },
  "luminance": 0.05118
}

Semantic roles & 50–950 ramp

primary
#671D78
secondary
#58AC45
accent
#E44462
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #671D78

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

Preview Lab → · Contrast checker → · Palette generator →

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