#731B72#731B72

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

Color values

HEX#731B72
RGBrgb(115, 27, 114)
HSLhsl(301, 62%, 28%)
HSVhsv(301, 77%, 45%)
CMYKcmyk(0%, 76.5%, 0.9%, 54.9%)
CIE-LABlab(28.50, 48.11, -29.81)
CIE-LCHlch(28.50, 56.60, 328.22°)
OKLaboklab(40.45% 0.1347 -0.0825)
OKLCHoklch(40.45% 0.158 328.5)
XYZxyz(10.4993, 5.6444, 16.4528)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731B72 #1B731C
analogous
#481B73 #731B72 #731B46
triadic
#731B72 #72731B #1B7273
tetradic
#731B72 #73481B #1B731C #1B4673
square
#731B72 #73481B #1B731C #1B4673
split-complementary
#731B72 #46731B #1B7348
monochromatic
#190619 #410F41 #731B72 #A527A3 #D038CF

Accessibility & contrast

On white

9.86
#731B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#731B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731B72
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731B72#FFFFFF#000000##FFFFFF
##731B721.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3C74
Deuteranopia (green-blind)
#344770
Tritanopia (blue-blind)
#772845
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #731b72;
/* rgb */ color: rgb(115, 27, 114);
/* oklch */ color: oklch(40.4% 0.158 328.5);
Tailwind
colors: {
  custom: {
    50: '#9e629b',
    500: '#731b72',
    950: '#000000',
  },
}
SCSS
$custom: #731b72;
$custom-light: #9e629b;
$custom-dark: #000000;
JSON
{
  "hex": "#731b72",
  "rgb": {
    "r": 115,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 300.682,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40445,
    "c": 0.15801,
    "h": 328.5
  },
  "luminance": 0.05644
}

Semantic roles & 50–950 ramp

primary
#731B72
secondary
#42A843
accent
#E54543
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #731B72

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

Preview Lab → · Contrast checker → · Palette generator →

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