#671776#671776

#671776 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.5% C 0.160 H 320.6°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#671776
RGBrgb(103, 23, 118)
HSLhsl(291, 67%, 28%)
HSVhsv(291, 81%, 46%)
CMYKcmyk(12.7%, 80.5%, 0%, 53.7%)
CIE-LABlab(26.17, 47.54, -36.20)
CIE-LCHlch(26.17, 59.76, 322.72°)
OKLaboklab(38.46% 0.1238 -0.1015)
OKLCHoklch(38.46% 0.16 320.6)
XYZxyz(9.1695, 4.8049, 17.5805)
Luminance0.0480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671776 #267617
analogous
#371776 #671776 #761756
triadic
#671776 #766717 #177667
tetradic
#671776 #763717 #267617 #175676
square
#671776 #763717 #267617 #175676
split-complementary
#671776 #567617 #177637
monochromatic
#16051A #3A0D43 #671776 #9421A9 #BD31D7

Accessibility & contrast

On white

10.71
#671776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#671776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671776
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671776#FFFFFF#000000##FFFFFF
##6717761.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003979
Deuteranopia (green-blind)
#224174
Tritanopia (blue-blind)
#682B46
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #671776;
/* rgb */ color: rgb(103, 23, 118);
/* oklch */ color: oklch(38.5% 0.160 320.6);
Tailwind
colors: {
  custom: {
    50: '#965f9e',
    500: '#671776',
    950: '#000000',
  },
}
SCSS
$custom: #671776;
$custom-light: #965f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#671776",
  "rgb": {
    "r": 103,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 290.526,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38463,
    "c": 0.16009,
    "h": 320.6
  },
  "luminance": 0.04804
}

Semantic roles & 50–950 ramp

primary
#671776
secondary
#4FAB3E
accent
#EA3E59
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #671776

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

Preview Lab → · Contrast checker → · Palette generator →

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