#731971#731971

#731971 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.159 H 329.0°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#731971
RGBrgb(115, 25, 113)
HSLhsl(301, 64%, 27%)
HSVhsv(301, 78%, 45%)
CMYKcmyk(0%, 78.3%, 1.7%, 54.9%)
CIE-LABlab(28.20, 48.61, -29.64)
CIE-LCHlch(28.20, 56.93, 328.63°)
OKLaboklab(40.22% 0.1367 -0.082)
OKLCHoklch(40.22% 0.159 329)
XYZxyz(10.3984, 5.5331, 16.1399)
Luminance0.0553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731971 #19731B
analogous
#481973 #731971 #731944
triadic
#731971 #717319 #197173
tetradic
#731971 #734819 #19731B #194473
square
#731971 #734819 #19731B #194473
split-complementary
#731971 #447319 #197348
monochromatic
#190519 #410E40 #731971 #A524A2 #D334CF

Accessibility & contrast

On white

9.97
#731971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#731971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731971
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731971#FFFFFF#000000##FFFFFF
##7319711.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083B73
Deuteranopia (green-blind)
#33476F
Tritanopia (blue-blind)
#772744
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #731971;
/* rgb */ color: rgb(115, 25, 113);
/* oklch */ color: oklch(40.2% 0.159 329.0);
Tailwind
colors: {
  custom: {
    50: '#9f619a',
    500: '#731971',
    950: '#000000',
  },
}
SCSS
$custom: #731971;
$custom-light: #9f619a;
$custom-dark: #000000;
JSON
{
  "hex": "#731971",
  "rgb": {
    "r": 115,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 301.333,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.40215,
    "c": 0.15937,
    "h": 329
  },
  "luminance": 0.05532
}

Semantic roles & 50–950 ramp

primary
#731971
secondary
#40A842
accent
#E74441
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731971

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

Preview Lab → · Contrast checker → · Palette generator →

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