#731D74#731D74

#731D74 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.7% C 0.157 H 327.5°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#731D74
RGBrgb(115, 29, 116)
HSLhsl(299, 60%, 28%)
HSVhsv(299, 75%, 45%)
CMYKcmyk(0.9%, 75%, 0%, 54.5%)
CIE-LABlab(28.86, 47.76, -30.50)
CIE-LCHlch(28.86, 56.67, 327.44°)
OKLaboklab(40.75% 0.1327 -0.0846)
OKLCHoklch(40.75% 0.157 327.5)
XYZxyz(10.6618, 5.7853, 17.0747)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731D74 #1E741D
analogous
#471D74 #731D74 #741D49
triadic
#731D74 #74731D #1D7473
tetradic
#731D74 #74471D #1E741D #1D4974
square
#731D74 #74471D #1E741D #1D4974
split-complementary
#731D74 #49741D #1D7447
monochromatic
#180618 #421143 #731D74 #A429A5 #CD3DCE

Accessibility & contrast

On white

9.74
#731D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#731D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731D74
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731D74#FFFFFF#000000##FFFFFF
##731D741.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3D76
Deuteranopia (green-blind)
#344872
Tritanopia (blue-blind)
#772B47
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #731d74;
/* rgb */ color: rgb(115, 29, 116);
/* oklch */ color: oklch(40.7% 0.157 327.5);
Tailwind
colors: {
  custom: {
    50: '#9e639c',
    500: '#731d74',
    950: '#000000',
  },
}
SCSS
$custom: #731d74;
$custom-light: #9e639c;
$custom-dark: #000000;
JSON
{
  "hex": "#731d74",
  "rgb": {
    "r": 115,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 299.31,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40746,
    "c": 0.15738,
    "h": 327.5
  },
  "luminance": 0.05785
}

Semantic roles & 50–950 ramp

primary
#731D74
secondary
#46A845
accent
#E34546
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #731D74

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

Preview Lab → · Contrast checker → · Palette generator →

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