#731A72#731A72

#731A72 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.159 H 328.5°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#731A72
RGBrgb(115, 26, 114)
HSLhsl(301, 63%, 28%)
HSVhsv(301, 77%, 45%)
CMYKcmyk(0%, 77.4%, 0.9%, 54.9%)
CIE-LABlab(28.38, 48.45, -30.00)
CIE-LCHlch(28.38, 56.98, 328.24°)
OKLaboklab(40.36% 0.1357 -0.0831)
OKLCHoklch(40.36% 0.159 328.5)
XYZxyz(10.4768, 5.5993, 16.4453)
Luminance0.0560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A72 #1A731B
analogous
#471A73 #731A72 #731A46
triadic
#731A72 #72731A #1A7273
tetradic
#731A72 #73471A #1A731B #1A4673
square
#731A72 #73471A #1A731B #1A4673
split-complementary
#731A72 #46731A #1A7347
monochromatic
#190619 #410F41 #731A72 #A525A3 #D236D0

Accessibility & contrast

On white

9.91
#731A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#731A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731A72
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A72#FFFFFF#000000##FFFFFF
##731A721.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083B74
Deuteranopia (green-blind)
#334770
Tritanopia (blue-blind)
#772845
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #731a72;
/* rgb */ color: rgb(115, 26, 114);
/* oklch */ color: oklch(40.4% 0.159 328.5);
Tailwind
colors: {
  custom: {
    50: '#9e619b',
    500: '#731a72',
    950: '#000000',
  },
}
SCSS
$custom: #731a72;
$custom-light: #9e619b;
$custom-dark: #000000;
JSON
{
  "hex": "#731a72",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 114
  },
  "hsl": {
    "h": 300.674,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.4036,
    "c": 0.15912,
    "h": 328.5
  },
  "luminance": 0.05599
}

Semantic roles & 50–950 ramp

primary
#731A72
secondary
#41A842
accent
#E64342
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731A72

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

Preview Lab → · Contrast checker → · Palette generator →

#731A72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva