#731D7F#731D7F

#731D7F is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.167 H 322.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#731D7F
RGBrgb(115, 29, 127)
HSLhsl(293, 63%, 31%)
HSVhsv(293, 77%, 50%)
CMYKcmyk(9.4%, 77.2%, 0%, 50.2%)
CIE-LABlab(29.55, 49.79, -36.36)
CIE-LCHlch(29.55, 61.65, 323.86°)
OKLaboklab(41.46% 0.1323 -0.1016)
OKLCHoklch(41.46% 0.167 322.5)
XYZxyz(11.3400, 6.0565, 20.6463)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731D7F #297F1D
analogous
#421D7F #731D7F #7F1D5A
triadic
#731D7F #7F731D #1D7F73
tetradic
#731D7F #7F421D #297F1D #1D5A7F
square
#731D7F #7F421D #297F1D #1D5A7F
split-complementary
#731D7F #5A7F1D #1D7F42
monochromatic
#19061B #46124D #731D7F #A028B1 #C242D4

Accessibility & contrast

On white

9.50
#731D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#731D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731D7F
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731D7F#FFFFFF#000000##FFFFFF
##731D7F1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#2C497D
Tritanopia (blue-blind)
#75304D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #731d7f;
/* rgb */ color: rgb(115, 29, 127);
/* oklch */ color: oklch(41.5% 0.167 322.5);
Tailwind
colors: {
  custom: {
    50: '#9f63a5',
    500: '#731d7f',
    950: '#000000',
  },
}
SCSS
$custom: #731d7f;
$custom-light: #9f63a5;
$custom-dark: #000000;
JSON
{
  "hex": "#731d7f",
  "rgb": {
    "r": 115,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 292.653,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41461,
    "c": 0.16682,
    "h": 322.5
  },
  "luminance": 0.06056
}

Semantic roles & 50–950 ramp

primary
#731D7F
secondary
#53B245
accent
#E64256
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #731D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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