#731E73#731E73

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

Color values

HEX#731E73
RGBrgb(115, 30, 115)
HSLhsl(300, 59%, 28%)
HSVhsv(300, 74%, 45%)
CMYKcmyk(0%, 73.9%, 0%, 54.9%)
CIE-LABlab(28.93, 47.21, -29.75)
CIE-LCHlch(28.93, 55.81, 327.78°)
OKLaboklab(40.78% 0.1317 -0.0824)
OKLCHoklch(40.78% 0.155 328)
XYZxyz(10.6289, 5.8119, 16.7783)
Luminance0.0581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731E73 #1E731E
analogous
#481E73 #731E73 #731E48
triadic
#731E73 #73731E #1E7373
tetradic
#731E73 #73481E #1E731E #1E4873
square
#731E73 #73481E #1E731E #1E4873
split-complementary
#731E73 #48731E #1E7348
monochromatic
#180618 #421142 #731E73 #A42BA4 #CD3FCD

Accessibility & contrast

On white

9.71
#731E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731E73
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731E73#FFFFFF#000000##FFFFFF
##731E731.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3D75
Deuteranopia (green-blind)
#354871
Tritanopia (blue-blind)
#772B46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #731e73;
/* rgb */ color: rgb(115, 30, 115);
/* oklch */ color: oklch(40.8% 0.155 328.0);
Tailwind
colors: {
  custom: {
    50: '#9e639c',
    500: '#731e73',
    950: '#000000',
  },
}
SCSS
$custom: #731e73;
$custom-light: #9e639c;
$custom-dark: #000000;
JSON
{
  "hex": "#731e73",
  "rgb": {
    "r": 115,
    "g": 30,
    "b": 115
  },
  "hsl": {
    "h": 300,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40776,
    "c": 0.15535,
    "h": 328
  },
  "luminance": 0.05811
}

Semantic roles & 50–950 ramp

primary
#731E73
secondary
#46A746
accent
#E24646
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #731E73

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

Preview Lab → · Contrast checker → · Palette generator →

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