#731D73#731D73

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

Color values

HEX#731D73
RGBrgb(115, 29, 115)
HSLhsl(300, 60%, 28%)
HSVhsv(300, 75%, 45%)
CMYKcmyk(0%, 74.8%, 0%, 54.9%)
CIE-LABlab(28.80, 47.58, -29.96)
CIE-LCHlch(28.80, 56.23, 327.80°)
OKLaboklab(40.68% 0.1327 -0.083)
OKLCHoklch(40.68% 0.157 328)
XYZxyz(10.6040, 5.7621, 16.7700)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731D73 #1D731D
analogous
#481D73 #731D73 #731D48
triadic
#731D73 #73731D #1D7373
tetradic
#731D73 #73481D #1D731D #1D4873
square
#731D73 #73481D #1D731D #1D4873
split-complementary
#731D73 #48731D #1D7348
monochromatic
#180618 #421142 #731D73 #A429A4 #CE3CCE

Accessibility & contrast

On white

9.76
#731D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#731D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731D73
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731D73#FFFFFF#000000##FFFFFF
##731D731.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3D75
Deuteranopia (green-blind)
#344871
Tritanopia (blue-blind)
#772A46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #731d73;
/* rgb */ color: rgb(115, 29, 115);
/* oklch */ color: oklch(40.7% 0.157 328.0);
Tailwind
colors: {
  custom: {
    50: '#9e639c',
    500: '#731d73',
    950: '#000000',
  },
}
SCSS
$custom: #731d73;
$custom-light: #9e639c;
$custom-dark: #000000;
JSON
{
  "hex": "#731d73",
  "rgb": {
    "r": 115,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 300,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40684,
    "c": 0.15654,
    "h": 328
  },
  "luminance": 0.05761
}

Semantic roles & 50–950 ramp

primary
#731D73
secondary
#45A745
accent
#E34545
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #731D73

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

Preview Lab → · Contrast checker → · Palette generator →

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