#731D76#731D76

#731D76 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.159 H 326.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#731D76
RGBrgb(115, 29, 118)
HSLhsl(298, 61%, 29%)
HSVhsv(298, 75%, 46%)
CMYKcmyk(2.5%, 75.4%, 0%, 53.7%)
CIE-LABlab(28.99, 48.12, -31.58)
CIE-LCHlch(28.99, 57.56, 326.72°)
OKLaboklab(40.87% 0.1327 -0.0877)
OKLCHoklch(40.87% 0.159 326.5)
XYZxyz(10.7794, 5.8323, 17.6940)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731D76 #20761D
analogous
#471D76 #731D76 #761D4D
triadic
#731D76 #76731D #1D7673
tetradic
#731D76 #76471D #20761D #1D4D76
square
#731D76 #76471D #20761D #1D4D76
split-complementary
#731D76 #4D761D #1D7647
monochromatic
#180619 #431145 #731D76 #A329A7 #CB3ED0

Accessibility & contrast

On white

9.69
#731D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731D76
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731D76#FFFFFF#000000##FFFFFF
##731D761.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063D78
Deuteranopia (green-blind)
#324874
Tritanopia (blue-blind)
#762C48
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #731d76;
/* rgb */ color: rgb(115, 29, 118);
/* oklch */ color: oklch(40.9% 0.159 326.5);
Tailwind
colors: {
  custom: {
    50: '#9e639e',
    500: '#731d76',
    950: '#000000',
  },
}
SCSS
$custom: #731d76;
$custom-light: #9e639e;
$custom-dark: #000000;
JSON
{
  "hex": "#731d76",
  "rgb": {
    "r": 115,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 297.978,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40872,
    "c": 0.15907,
    "h": 326.5
  },
  "luminance": 0.05832
}

Semantic roles & 50–950 ramp

primary
#731D76
secondary
#48AA45
accent
#E44449
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #731D76

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

Preview Lab → · Contrast checker → · Palette generator →

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