#671878#671878

#671878 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.161 H 319.7°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#671878
RGBrgb(103, 24, 120)
HSLhsl(289, 67%, 28%)
HSVhsv(289, 80%, 47%)
CMYKcmyk(14.2%, 80%, 0%, 52.9%)
CIE-LABlab(26.43, 47.60, -37.06)
CIE-LCHlch(26.43, 60.32, 322.10°)
OKLaboklab(38.69% 0.1226 -0.104)
OKLCHoklch(38.69% 0.161 319.7)
XYZxyz(9.3099, 4.8934, 18.2198)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671878 #297818
analogous
#371878 #671878 #781859
triadic
#671878 #786718 #187867
tetradic
#671878 #783718 #297818 #185978
square
#671878 #783718 #297818 #185978
split-complementary
#671878 #597818 #187837
monochromatic
#16051A #3B0E45 #671878 #9322AB #BA34D6

Accessibility & contrast

On white

10.61
#671878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#671878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671878
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671878#FFFFFF#000000##FFFFFF
##6718781.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397B
Deuteranopia (green-blind)
#214176
Tritanopia (blue-blind)
#672C48
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #671878;
/* rgb */ color: rgb(103, 24, 120);
/* oklch */ color: oklch(38.7% 0.161 319.7);
Tailwind
colors: {
  custom: {
    50: '#965f9f',
    500: '#671878',
    950: '#000000',
  },
}
SCSS
$custom: #671878;
$custom-light: #965f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#671878",
  "rgb": {
    "r": 103,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 289.375,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3869,
    "c": 0.16083,
    "h": 319.7
  },
  "luminance": 0.04893
}

Semantic roles & 50–950 ramp

primary
#671878
secondary
#52AD3F
accent
#EA3E5D
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #671878

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

Preview Lab → · Contrast checker → · Palette generator →

#671878 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva