#731E99#731E99

#731E99 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.4% C 0.189 H 312.4°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#731E99
RGBrgb(115, 30, 153)
HSLhsl(281, 67%, 36%)
HSVhsv(281, 80%, 60%)
CMYKcmyk(24.8%, 80.4%, 0%, 40%)
CIE-LABlab(31.52, 54.66, -49.30)
CIE-LCHlch(31.52, 73.61, 317.95°)
OKLaboklab(43.43% 0.1275 -0.1396)
OKLCHoklch(43.43% 0.189 312.4)
XYZxyz(13.2832, 6.8737, 30.7578)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731E99 #44991E
analogous
#351E99 #731E99 #991E81
triadic
#731E99 #99731E #1E9973
tetradic
#731E99 #99351E #44991E #1E8199
square
#731E99 #99351E #44991E #1E8199
split-complementary
#731E99 #81991E #1E9935
monochromatic
#260A33 #4D1466 #731E99 #9928CC #B354DD

Accessibility & contrast

On white

8.84
#731E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#731E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731E99
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731E99#FFFFFF#000000##FFFFFF
##731E991.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#054C96
Tritanopia (blue-blind)
#6E3C5C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #731e99;
/* rgb */ color: rgb(115, 30, 153);
/* oklch */ color: oklch(43.4% 0.189 312.4);
Tailwind
colors: {
  custom: {
    50: '#a065b8',
    500: '#731e99',
    950: '#000000',
  },
}
SCSS
$custom: #731e99;
$custom-light: #a065b8;
$custom-dark: #000000;
JSON
{
  "hex": "#731e99",
  "rgb": {
    "r": 115,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 281.463,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43431,
    "c": 0.18907,
    "h": 312.4
  },
  "luminance": 0.06873
}

Semantic roles & 50–950 ramp

primary
#731E99
secondary
#74C152
accent
#EA3E73
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731E99

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

Preview Lab → · Contrast checker → · Palette generator →

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