#731D77#731D77

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

Color values

HEX#731D77
RGBrgb(115, 29, 119)
HSLhsl(297, 61%, 29%)
HSVhsv(297, 76%, 47%)
CMYKcmyk(3.4%, 75.6%, 0%, 53.3%)
CIE-LABlab(29.05, 48.30, -32.12)
CIE-LCHlch(29.05, 58.00, 326.38°)
OKLaboklab(40.94% 0.1327 -0.0893)
OKLCHoklch(40.94% 0.16 326.1)
XYZxyz(10.8392, 5.8562, 18.0086)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731D77 #21771D
analogous
#461D77 #731D77 #771D4E
triadic
#731D77 #77731D #1D7773
tetradic
#731D77 #77461D #21771D #1D4E77
square
#731D77 #77461D #21771D #1D4E77
split-complementary
#731D77 #4E771D #1D7746
monochromatic
#180619 #431146 #731D77 #A329A8 #CA3ED0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##731D77#FFFFFF#000000##FFFFFF
##731D771.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)
#043E79
Deuteranopia (green-blind)
#324875
Tritanopia (blue-blind)
#762C48
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #731d77;
/* rgb */ color: rgb(115, 29, 119);
/* oklch */ color: oklch(40.9% 0.160 326.1);
Tailwind
colors: {
  custom: {
    50: '#9e639f',
    500: '#731d77',
    950: '#000000',
  },
}
SCSS
$custom: #731d77;
$custom-light: #9e639f;
$custom-dark: #000000;
JSON
{
  "hex": "#731d77",
  "rgb": {
    "r": 115,
    "g": 29,
    "b": 119
  },
  "hsl": {
    "h": 297.333,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40936,
    "c": 0.15992,
    "h": 326.1
  },
  "luminance": 0.05855
}

Semantic roles & 50–950 ramp

primary
#731D77
secondary
#49AB45
accent
#E4444B
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #731D77

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

Preview Lab → · Contrast checker → · Palette generator →

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