#671777#671777

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

Color values

HEX#671777
RGBrgb(103, 23, 119)
HSLhsl(290, 68%, 28%)
HSVhsv(290, 81%, 47%)
CMYKcmyk(13.4%, 80.7%, 0%, 53.3%)
CIE-LABlab(26.24, 47.74, -36.72)
CIE-LCHlch(26.24, 60.23, 322.43°)
OKLaboklab(38.54% 0.1237 -0.103)
OKLCHoklch(38.54% 0.161 320.2)
XYZxyz(9.2293, 4.8288, 17.8951)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671777 #277717
analogous
#371777 #671777 #771757
triadic
#671777 #776717 #177767
tetradic
#671777 #773717 #277717 #175777
square
#671777 #773717 #277717 #175777
split-complementary
#671777 #577717 #177737
monochromatic
#16051A #3B0D44 #671777 #9321AA #BC31D7

Accessibility & contrast

On white

10.68
#671777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#671777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671777
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671777#FFFFFF#000000##FFFFFF
##6717771.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397A
Deuteranopia (green-blind)
#214175
Tritanopia (blue-blind)
#672B47
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #671777;
/* rgb */ color: rgb(103, 23, 119);
/* oklch */ color: oklch(38.5% 0.161 320.2);
Tailwind
colors: {
  custom: {
    50: '#965f9f',
    500: '#671777',
    950: '#000000',
  },
}
SCSS
$custom: #671777;
$custom-light: #965f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#671777",
  "rgb": {
    "r": 103,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 290,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38535,
    "c": 0.16097,
    "h": 320.2
  },
  "luminance": 0.04828
}

Semantic roles & 50–950 ramp

primary
#671777
secondary
#50AC3E
accent
#EA3D5A
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #671777

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

Preview Lab → · Contrast checker → · Palette generator →

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