#672971#672971

#672971 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.1% C 0.132 H 321.9°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#672971
RGBrgb(103, 41, 113)
HSLhsl(292, 47%, 30%)
HSVhsv(292, 64%, 44%)
CMYKcmyk(8.8%, 63.7%, 0%, 55.7%)
CIE-LABlab(28.54, 38.95, -29.22)
CIE-LCHlch(28.54, 48.69, 323.13°)
OKLaboklab(40.06% 0.1036 -0.0813)
OKLCHoklch(40.06% 0.132 321.9)
XYZxyz(9.3668, 5.6622, 16.2191)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672971 #337129
analogous
#432971 #672971 #712957
triadic
#672971 #716729 #297167
tetradic
#672971 #714329 #337129 #295771
square
#672971 #714329 #337129 #295771
split-complementary
#672971 #577129 #297143
monochromatic
#150817 #3E1944 #672971 #90399E #B254C1

Accessibility & contrast

On white

9.85
#672971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#672971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672971
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672971#FFFFFF#000000##FFFFFF
##6729711.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3F73
Deuteranopia (green-blind)
#31466F
Tritanopia (blue-blind)
#683449
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #672971;
/* rgb */ color: rgb(103, 41, 113);
/* oklch */ color: oklch(40.1% 0.132 321.9);
Tailwind
colors: {
  custom: {
    50: '#95679a',
    500: '#672971',
    950: '#000000',
  },
}
SCSS
$custom: #672971;
$custom-light: #95679a;
$custom-dark: #000000;
JSON
{
  "hex": "#672971",
  "rgb": {
    "r": 103,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 291.667,
    "s": 46.753,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40062,
    "c": 0.13167,
    "h": 321.9
  },
  "luminance": 0.05662
}

Semantic roles & 50–950 ramp

primary
#672971
secondary
#5EA353
accent
#D65164
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #672971

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

Preview Lab → · Contrast checker → · Palette generator →

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