#671372#671372

#671372 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.9% C 0.161 H 322.7°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#671372
RGBrgb(103, 19, 114)
HSLhsl(293, 71%, 26%)
HSVhsv(293, 83%, 45%)
CMYKcmyk(9.6%, 83.3%, 0%, 55.3%)
CIE-LABlab(25.46, 48.04, -34.78)
CIE-LCHlch(25.46, 59.31, 324.10°)
OKLaboklab(37.87% 0.1277 -0.0973)
OKLCHoklch(37.87% 0.161 322.7)
XYZxyz(8.8634, 4.5648, 16.3306)
Luminance0.0456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671372 #1E7213
analogous
#371372 #671372 #72134D
triadic
#671372 #726713 #137267
tetradic
#671372 #723713 #1E7213 #134D72
square
#671372 #723713 #1E7213 #134D72
split-complementary
#671372 #4D7213 #137237
monochromatic
#18041A #380A3E #671372 #961CA6 #C625DB

Accessibility & contrast

On white

10.98
#671372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#671372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671372
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671372#FFFFFF#000000##FFFFFF
##6713721.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#233F70
Tritanopia (blue-blind)
#682743
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #671372;
/* rgb */ color: rgb(103, 19, 114);
/* oklch */ color: oklch(37.9% 0.161 322.7);
Tailwind
colors: {
  custom: {
    50: '#965d9b',
    500: '#671372',
    950: '#000000',
  },
}
SCSS
$custom: #671372;
$custom-light: #965d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#671372",
  "rgb": {
    "r": 103,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 293.053,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3787,
    "c": 0.16054,
    "h": 322.7
  },
  "luminance": 0.04564
}

Semantic roles & 50–950 ramp

primary
#671372
secondary
#45A938
accent
#EE3A4F
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #671372

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

Preview Lab → · Contrast checker → · Palette generator →

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