#671A74#671A74

#671A74 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.6% C 0.155 H 321.4°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#671A74
RGBrgb(103, 26, 116)
HSLhsl(291, 63%, 28%)
HSVhsv(291, 78%, 45%)
CMYKcmyk(11.2%, 77.6%, 0%, 54.5%)
CIE-LABlab(26.40, 46.10, -34.55)
CIE-LCHlch(26.40, 57.61, 323.15°)
OKLaboklab(38.58% 0.1212 -0.0967)
OKLCHoklch(38.58% 0.155 321.4)
XYZxyz(9.1149, 4.8838, 16.9822)
Luminance0.0488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A74 #27741A
analogous
#3A1A74 #671A74 #741A54
triadic
#671A74 #74671A #1A7467
tetradic
#671A74 #743A1A #27741A #1A5474
square
#671A74 #743A1A #27741A #1A5474
split-complementary
#671A74 #54741A #1A743A
monochromatic
#160619 #3B0F42 #671A74 #9325A6 #BC36D2

Accessibility & contrast

On white

10.62
#671A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#671A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671A74
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A74#FFFFFF#000000##FFFFFF
##671A741.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#254172
Tritanopia (blue-blind)
#682C46
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #671a74;
/* rgb */ color: rgb(103, 26, 116);
/* oklch */ color: oklch(38.6% 0.155 321.4);
Tailwind
colors: {
  custom: {
    50: '#96609c',
    500: '#671a74',
    950: '#000000',
  },
}
SCSS
$custom: #671a74;
$custom-light: #96609c;
$custom-dark: #000000;
JSON
{
  "hex": "#671a74",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 291.333,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38582,
    "c": 0.15504,
    "h": 321.4
  },
  "luminance": 0.04883
}

Semantic roles & 50–950 ramp

primary
#671A74
secondary
#50A941
accent
#E64159
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #671A74

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

Preview Lab → · Contrast checker → · Palette generator →

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