#731A76#731A76

#731A76 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.162 H 326.6°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#731A76
RGBrgb(115, 26, 118)
HSLhsl(298, 64%, 28%)
HSVhsv(298, 78%, 46%)
CMYKcmyk(2.5%, 78%, 0%, 53.7%)
CIE-LABlab(28.62, 49.16, -32.16)
CIE-LCHlch(28.62, 58.74, 326.81°)
OKLaboklab(40.61% 0.1356 -0.0893)
OKLCHoklch(40.61% 0.162 326.6)
XYZxyz(10.7095, 5.6924, 17.6707)
Luminance0.0569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A76 #1D761A
analogous
#451A76 #731A76 #761A4B
triadic
#731A76 #76731A #1A7673
tetradic
#731A76 #76451A #1D761A #1A4B76
square
#731A76 #76451A #1D761A #1A4B76
split-complementary
#731A76 #4B761A #1A7645
monochromatic
#180619 #420F44 #731A76 #A425A8 #CE37D3

Accessibility & contrast

On white

9.82
#731A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#731A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731A76
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A76#FFFFFF#000000##FFFFFF
##731A761.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#314774
Tritanopia (blue-blind)
#762A47
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #731a76;
/* rgb */ color: rgb(115, 26, 118);
/* oklch */ color: oklch(40.6% 0.162 326.6);
Tailwind
colors: {
  custom: {
    50: '#9f629e',
    500: '#731a76',
    950: '#000000',
  },
}
SCSS
$custom: #731a76;
$custom-light: #9f629e;
$custom-dark: #000000;
JSON
{
  "hex": "#731a76",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 298.043,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40613,
    "c": 0.16241,
    "h": 326.6
  },
  "luminance": 0.05692
}

Semantic roles & 50–950 ramp

primary
#731A76
secondary
#45AB41
accent
#E74146
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #731A76

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

Preview Lab → · Contrast checker → · Palette generator →

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