#731B71#731B71

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

Color values

HEX#731B71
RGBrgb(115, 27, 113)
HSLhsl(301, 62%, 28%)
HSVhsv(301, 77%, 45%)
CMYKcmyk(0%, 76.5%, 1.7%, 54.9%)
CIE-LABlab(28.44, 47.94, -29.26)
CIE-LCHlch(28.44, 56.16, 328.60°)
OKLaboklab(40.38% 0.1347 -0.0809)
OKLCHoklch(40.38% 0.157 329)
XYZxyz(10.4427, 5.6217, 16.1547)
Luminance0.0562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731B71 #1B731D
analogous
#491B73 #731B71 #731B45
triadic
#731B71 #71731B #1B7173
tetradic
#731B71 #73491B #1B731D #1B4573
square
#731B71 #73491B #1B731D #1B4573
split-complementary
#731B71 #45731B #1B7349
monochromatic
#190618 #410F40 #731B71 #A527A2 #D038CD

Accessibility & contrast

On white

9.89
#731B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731B71
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731B71#FFFFFF#000000##FFFFFF
##731B711.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3C73
Deuteranopia (green-blind)
#34476F
Tritanopia (blue-blind)
#772844
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #731b71;
/* rgb */ color: rgb(115, 27, 113);
/* oklch */ color: oklch(40.4% 0.157 329.0);
Tailwind
colors: {
  custom: {
    50: '#9e629a',
    500: '#731b71',
    950: '#000000',
  },
}
SCSS
$custom: #731b71;
$custom-light: #9e629a;
$custom-dark: #000000;
JSON
{
  "hex": "#731b71",
  "rgb": {
    "r": 115,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 301.364,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40383,
    "c": 0.15719,
    "h": 329
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#731B71
secondary
#42A844
accent
#E54643
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #731B71

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

Preview Lab → · Contrast checker → · Palette generator →

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