#731C96#731C96

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

Color values

HEX#731C96
RGBrgb(115, 28, 150)
HSLhsl(283, 69%, 35%)
HSVhsv(283, 81%, 59%)
CMYKcmyk(23.3%, 81.3%, 0%, 41.2%)
CIE-LABlab(31.06, 54.69, -48.20)
CIE-LCHlch(31.06, 72.90, 318.61°)
OKLaboklab(43.04% 0.1298 -0.1364)
OKLCHoklch(43.04% 0.188 313.6)
XYZxyz(12.9895, 6.6778, 29.4529)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731C96 #3F961C
analogous
#361C96 #731C96 #961C7C
triadic
#731C96 #96731C #1C9673
tetradic
#731C96 #96361C #3F961C #1C7C96
square
#731C96 #96361C #3F961C #1C7C96
split-complementary
#731C96 #7C961C #1C9636
monochromatic
#24092F #4B1262 #731C96 #9B26CA #B54EDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##731C96#FFFFFF#000000##FFFFFF
##731C961.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)
#004599
Deuteranopia (green-blind)
#0B4B94
Tritanopia (blue-blind)
#6F3A5A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #731c96;
/* rgb */ color: rgb(115, 28, 150);
/* oklch */ color: oklch(43.0% 0.188 313.6);
Tailwind
colors: {
  custom: {
    50: '#a064b6',
    500: '#731c96',
    950: '#000000',
  },
}
SCSS
$custom: #731c96;
$custom-light: #a064b6;
$custom-dark: #000000;
JSON
{
  "hex": "#731c96",
  "rgb": {
    "r": 115,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 282.787,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4304,
    "c": 0.18824,
    "h": 313.6
  },
  "luminance": 0.06677
}

Semantic roles & 50–950 ramp

primary
#731C96
secondary
#6EC14D
accent
#EB3C6F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731C96

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

Preview Lab → · Contrast checker → · Palette generator →

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