#731D71#731D71

#731D71 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.155 H 329.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#731D71
RGBrgb(115, 29, 113)
HSLhsl(301, 60%, 28%)
HSVhsv(301, 75%, 45%)
CMYKcmyk(0%, 74.8%, 1.7%, 54.9%)
CIE-LABlab(28.69, 47.23, -28.87)
CIE-LCHlch(28.69, 55.35, 328.56°)
OKLaboklab(40.56% 0.1327 -0.0798)
OKLCHoklch(40.56% 0.155 329)
XYZxyz(10.4901, 5.7166, 16.1705)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731D71 #1D731F
analogous
#4A1D73 #731D71 #731D46
triadic
#731D71 #71731D #1D7173
tetradic
#731D71 #734A1D #1D731F #1D4673
square
#731D71 #734A1D #1D731F #1D4673
split-complementary
#731D71 #46731D #1D734A
monochromatic
#180618 #421141 #731D71 #A429A1 #CE3CCB

Accessibility & contrast

On white

9.80
#731D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#731D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731D71
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731D71#FFFFFF#000000##FFFFFF
##731D711.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103C73
Deuteranopia (green-blind)
#35486F
Tritanopia (blue-blind)
#772945
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #731d71;
/* rgb */ color: rgb(115, 29, 113);
/* oklch */ color: oklch(40.6% 0.155 329.0);
Tailwind
colors: {
  custom: {
    50: '#9e639a',
    500: '#731d71',
    950: '#000000',
  },
}
SCSS
$custom: #731d71;
$custom-light: #9e639a;
$custom-dark: #000000;
JSON
{
  "hex": "#731d71",
  "rgb": {
    "r": 115,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 301.395,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40561,
    "c": 0.15487,
    "h": 329
  },
  "luminance": 0.05716
}

Semantic roles & 50–950 ramp

primary
#731D71
secondary
#45A747
accent
#E34945
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #731D71

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

Preview Lab → · Contrast checker → · Palette generator →

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