#731E76#731E76

#731E76 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.158 H 326.5°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#731E76
RGBrgb(115, 30, 118)
HSLhsl(298, 59%, 29%)
HSVhsv(298, 75%, 46%)
CMYKcmyk(2.5%, 74.6%, 0%, 53.7%)
CIE-LABlab(29.11, 47.76, -31.38)
CIE-LCHlch(29.11, 57.14, 326.69°)
OKLaboklab(40.96% 0.1317 -0.0871)
OKLCHoklch(40.96% 0.158 326.5)
XYZxyz(10.8043, 5.8821, 17.7023)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731E76 #21761E
analogous
#471E76 #731E76 #761E4D
triadic
#731E76 #76731E #1E7673
tetradic
#731E76 #76471E #21761E #1E4D76
square
#731E76 #76471E #21761E #1E4D76
split-complementary
#731E76 #4D761E #1E7647
monochromatic
#180618 #431245 #731E76 #A32AA7 #CA40CE

Accessibility & contrast

On white

9.65
#731E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#731E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731E76
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731E76#FFFFFF#000000##FFFFFF
##731E761.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093E78
Deuteranopia (green-blind)
#334874
Tritanopia (blue-blind)
#762C48
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #731e76;
/* rgb */ color: rgb(115, 30, 118);
/* oklch */ color: oklch(41.0% 0.158 326.5);
Tailwind
colors: {
  custom: {
    50: '#9e639e',
    500: '#731e76',
    950: '#000000',
  },
}
SCSS
$custom: #731e76;
$custom-light: #9e639e;
$custom-dark: #000000;
JSON
{
  "hex": "#731e76",
  "rgb": {
    "r": 115,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 297.955,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40963,
    "c": 0.15789,
    "h": 326.5
  },
  "luminance": 0.05881
}

Semantic roles & 50–950 ramp

primary
#731E76
secondary
#49AA46
accent
#E3454B
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #731E76

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

Preview Lab → · Contrast checker → · Palette generator →

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