#671972#671972

#671972 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.154 H 322.4°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#671972
RGBrgb(103, 25, 114)
HSLhsl(293, 64%, 27%)
HSVhsv(293, 78%, 45%)
CMYKcmyk(9.6%, 78.1%, 0%, 55.3%)
CIE-LABlab(26.14, 46.07, -33.69)
CIE-LCHlch(26.14, 57.07, 323.82°)
OKLaboklab(38.35% 0.1223 -0.0942)
OKLCHoklch(38.35% 0.154 322.4)
XYZxyz(8.9781, 4.7943, 16.3688)
Luminance0.0479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671972 #247219
analogous
#3A1972 #671972 #721951
triadic
#671972 #726719 #197267
tetradic
#671972 #723A19 #247219 #195172
square
#671972 #723A19 #247219 #195172
split-complementary
#671972 #517219 #19723A
monochromatic
#170619 #3A0E40 #671972 #9424A4 #BF33D2

Accessibility & contrast

On white

10.72
#671972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671972
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671972#FFFFFF#000000##FFFFFF
##6719721.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#264170
Tritanopia (blue-blind)
#682A44
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #671972;
/* rgb */ color: rgb(103, 25, 114);
/* oklch */ color: oklch(38.4% 0.154 322.4);
Tailwind
colors: {
  custom: {
    50: '#965f9b',
    500: '#671972',
    950: '#000000',
  },
}
SCSS
$custom: #671972;
$custom-light: #965f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#671972",
  "rgb": {
    "r": 103,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 292.584,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.38354,
    "c": 0.15438,
    "h": 322.4
  },
  "luminance": 0.04794
}

Semantic roles & 50–950 ramp

primary
#671972
secondary
#4CA740
accent
#E74155
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #671972

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

Preview Lab → · Contrast checker → · Palette generator →

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