#731A99#731A99

#731A99 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.1% C 0.193 H 312.7°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#731A99
RGBrgb(115, 26, 153)
HSLhsl(282, 71%, 35%)
HSVhsv(282, 83%, 60%)
CMYKcmyk(24.8%, 83%, 0%, 40%)
CIE-LABlab(31.08, 55.94, -50.02)
CIE-LCHlch(31.08, 75.04, 318.20°)
OKLaboklab(43.12% 0.1306 -0.1417)
OKLCHoklch(43.12% 0.193 312.7)
XYZxyz(13.1883, 6.6839, 30.7262)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A99 #40991A
analogous
#331A99 #731A99 #991A80
triadic
#731A99 #99731A #1A9973
tetradic
#731A99 #99331A #40991A #1A8099
square
#731A99 #99331A #40991A #1A8099
split-complementary
#731A99 #80991A #1A9933
monochromatic
#240830 #4C1165 #731A99 #9A23CD #B44DE1

Accessibility & contrast

On white

8.99
#731A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#731A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731A99
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A99#FFFFFF#000000##FFFFFF
##731A991.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004B96
Tritanopia (blue-blind)
#6F3B5B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #731a99;
/* rgb */ color: rgb(115, 26, 153);
/* oklch */ color: oklch(43.1% 0.193 312.7);
Tailwind
colors: {
  custom: {
    50: '#a063b8',
    500: '#731a99',
    950: '#000000',
  },
}
SCSS
$custom: #731a99;
$custom-light: #a063b8;
$custom-dark: #000000;
JSON
{
  "hex": "#731a99",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 153
  },
  "hsl": {
    "h": 282.047,
    "s": 70.95,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43122,
    "c": 0.1927,
    "h": 312.7
  },
  "luminance": 0.06684
}

Semantic roles & 50–950 ramp

primary
#731A99
secondary
#70C34C
accent
#EE3A70
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731A99

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

Preview Lab → · Contrast checker → · Palette generator →

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