#731F73#731F73

#731F73 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.9% C 0.154 H 327.9°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#731F73
RGBrgb(115, 31, 115)
HSLhsl(300, 58%, 29%)
HSVhsv(300, 73%, 45%)
CMYKcmyk(0%, 73%, 0%, 54.9%)
CIE-LABlab(29.07, 46.84, -29.54)
CIE-LCHlch(29.07, 55.38, 327.76°)
OKLaboklab(40.87% 0.1306 -0.0818)
OKLCHoklch(40.87% 0.154 327.9)
XYZxyz(10.6546, 5.8634, 16.7869)
Luminance0.0586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731F73 #1F731F
analogous
#491F73 #731F73 #731F49
triadic
#731F73 #73731F #1F7373
tetradic
#731F73 #73491F #1F731F #1F4973
square
#731F73 #73491F #1F731F #1F4973
split-complementary
#731F73 #49731F #1F7349
monochromatic
#180618 #431243 #731F73 #A32CA3 #CC41CC

Accessibility & contrast

On white

9.67
#731F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#731F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731F73
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731F73#FFFFFF#000000##FFFFFF
##731F731.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113D75
Deuteranopia (green-blind)
#354871
Tritanopia (blue-blind)
#772B47
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #731f73;
/* rgb */ color: rgb(115, 31, 115);
/* oklch */ color: oklch(40.9% 0.154 327.9);
Tailwind
colors: {
  custom: {
    50: '#9e649b',
    500: '#731f73',
    950: '#000000',
  },
}
SCSS
$custom: #731f73;
$custom-light: #9e649b;
$custom-dark: #000000;
JSON
{
  "hex": "#731f73",
  "rgb": {
    "r": 115,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 300,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40871,
    "c": 0.15414,
    "h": 327.9
  },
  "luminance": 0.05863
}

Semantic roles & 50–950 ramp

primary
#731F73
secondary
#47A747
accent
#E14747
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #731F73

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

Preview Lab → · Contrast checker → · Palette generator →

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