#671879#671879

#671879 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.162 H 319.2°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#671879
RGBrgb(103, 24, 121)
HSLhsl(289, 67%, 28%)
HSVhsv(289, 80%, 47%)
CMYKcmyk(14.9%, 80.2%, 0%, 52.5%)
CIE-LABlab(26.50, 47.80, -37.58)
CIE-LCHlch(26.50, 60.80, 321.82°)
OKLaboklab(38.76% 0.1225 -0.1056)
OKLCHoklch(38.76% 0.162 319.2)
XYZxyz(9.3709, 4.9178, 18.5411)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671879 #2A7918
analogous
#361879 #671879 #79185A
triadic
#671879 #796718 #187967
tetradic
#671879 #793618 #2A7918 #185A79
square
#671879 #793618 #2A7918 #185A79
split-complementary
#671879 #5A7918 #187936
monochromatic
#16051A #3C0E46 #671879 #9222AC #B935D7

Accessibility & contrast

On white

10.59
#671879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671879
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671879#FFFFFF#000000##FFFFFF
##6718791.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671879;
/* rgb */ color: rgb(103, 24, 121);
/* oklch */ color: oklch(38.8% 0.162 319.2);
Tailwind
colors: {
  custom: {
    50: '#965fa0',
    500: '#671879',
    950: '#000000',
  },
}
SCSS
$custom: #671879;
$custom-light: #965fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#671879",
  "rgb": {
    "r": 103,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 288.866,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38762,
    "c": 0.16172,
    "h": 319.2
  },
  "luminance": 0.04917
}

Semantic roles & 50–950 ramp

primary
#671879
secondary
#54AE3F
accent
#EA3E5E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #671879

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

Preview Lab → · Contrast checker → · Palette generator →

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