#671E78#671E78

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

Color values

HEX#671E78
RGBrgb(103, 30, 120)
HSLhsl(289, 60%, 29%)
HSVhsv(289, 75%, 47%)
CMYKcmyk(14.2%, 75%, 0%, 52.9%)
CIE-LABlab(27.21, 45.36, -35.80)
CIE-LCHlch(27.21, 57.79, 321.72°)
OKLaboklab(39.24% 0.1168 -0.1004)
OKLCHoklch(39.24% 0.154 319.3)
XYZxyz(9.4475, 5.1686, 18.2657)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E78 #2F781E
analogous
#3A1E78 #671E78 #781E5C
triadic
#671E78 #78671E #1E7867
tetradic
#671E78 #783A1E #2F781E #1E5C78
square
#671E78 #783A1E #2F781E #1E5C78
split-complementary
#671E78 #5C781E #1E783A
monochromatic
#150618 #3D1247 #671E78 #912AA9 #B541CF

Accessibility & contrast

On white

10.33
#671E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#671E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671E78
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671E78#FFFFFF#000000##FFFFFF
##671E781.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#254376
Tritanopia (blue-blind)
#673049
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671e78;
/* rgb */ color: rgb(103, 30, 120);
/* oklch */ color: oklch(39.2% 0.154 319.3);
Tailwind
colors: {
  custom: {
    50: '#96629f',
    500: '#671e78',
    950: '#000000',
  },
}
SCSS
$custom: #671e78;
$custom-light: #96629f;
$custom-dark: #000000;
JSON
{
  "hex": "#671e78",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 120
  },
  "hsl": {
    "h": 288.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39244,
    "c": 0.15399,
    "h": 319.3
  },
  "luminance": 0.05168
}

Semantic roles & 50–950 ramp

primary
#671E78
secondary
#59AC46
accent
#E34563
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #671E78

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

Preview Lab → · Contrast checker → · Palette generator →

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