#671A78#671A78

#671A78 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.159 H 319.6°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#671A78
RGBrgb(103, 26, 120)
HSLhsl(289, 64%, 29%)
HSVhsv(289, 78%, 47%)
CMYKcmyk(14.2%, 78.3%, 0%, 52.9%)
CIE-LABlab(26.67, 46.89, -36.66)
CIE-LCHlch(26.67, 59.52, 321.98°)
OKLaboklab(38.86% 0.1208 -0.1029)
OKLCHoklch(38.86% 0.159 319.6)
XYZxyz(9.3526, 4.9789, 18.2340)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A78 #2B781A
analogous
#381A78 #671A78 #781A5A
triadic
#671A78 #78671A #1A7867
tetradic
#671A78 #78381A #2B781A #1A5A78
square
#671A78 #78381A #2B781A #1A5A78
split-complementary
#671A78 #5A781A #1A7838
monochromatic
#160519 #3C0F46 #671A78 #9225AA #B838D4

Accessibility & contrast

On white

10.52
#671A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#671A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671A78
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A78#FFFFFF#000000##FFFFFF
##671A781.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#224276
Tritanopia (blue-blind)
#672D48
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #671a78;
/* rgb */ color: rgb(103, 26, 120);
/* oklch */ color: oklch(38.9% 0.159 319.6);
Tailwind
colors: {
  custom: {
    50: '#96609f',
    500: '#671a78',
    950: '#000000',
  },
}
SCSS
$custom: #671a78;
$custom-light: #96609f;
$custom-dark: #000000;
JSON
{
  "hex": "#671a78",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 289.149,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38864,
    "c": 0.15866,
    "h": 319.6
  },
  "luminance": 0.04978
}

Semantic roles & 50–950 ramp

primary
#671A78
secondary
#55AC41
accent
#E7405F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #671A78

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

Preview Lab → · Contrast checker → · Palette generator →

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