#671A77#671A77

#671A77 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.8% C 0.158 H 320.0°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#671A77
RGBrgb(103, 26, 119)
HSLhsl(290, 64%, 28%)
HSVhsv(290, 78%, 47%)
CMYKcmyk(13.4%, 78.2%, 0%, 53.3%)
CIE-LABlab(26.61, 46.69, -36.14)
CIE-LCHlch(26.61, 59.04, 322.26°)
OKLaboklab(38.79% 0.1209 -0.1013)
OKLCHoklch(38.79% 0.158 320)
XYZxyz(9.2923, 4.9547, 17.9161)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A77 #2A771A
analogous
#381A77 #671A77 #771A58
triadic
#671A77 #77671A #1A7767
tetradic
#671A77 #77381A #2A771A #1A5877
square
#671A77 #77381A #2A771A #1A5877
split-complementary
#671A77 #58771A #1A7738
monochromatic
#160519 #3C0F45 #671A77 #9225A9 #B938D3

Accessibility & contrast

On white

10.55
#671A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#671A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671A77
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A77#FFFFFF#000000##FFFFFF
##671A771.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7A
Deuteranopia (green-blind)
#234275
Tritanopia (blue-blind)
#672D47
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #671a77;
/* rgb */ color: rgb(103, 26, 119);
/* oklch */ color: oklch(38.8% 0.158 320.0);
Tailwind
colors: {
  custom: {
    50: '#96609f',
    500: '#671a77',
    950: '#000000',
  },
}
SCSS
$custom: #671a77;
$custom-light: #96609f;
$custom-dark: #000000;
JSON
{
  "hex": "#671a77",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 119
  },
  "hsl": {
    "h": 289.677,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38793,
    "c": 0.15775,
    "h": 320
  },
  "luminance": 0.04954
}

Semantic roles & 50–950 ramp

primary
#671A77
secondary
#54AC41
accent
#E7415D
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #671A77

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

Preview Lab → · Contrast checker → · Palette generator →

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